Remove some debug code

This commit is contained in:
Ray Chason
2022-12-10 13:13:28 -05:00
parent aa1d130345
commit ea84598613

View File

@@ -393,10 +393,8 @@ add_glyph_to_cache(int glyphnum, const char *id)
size_t hash2 = (size_t)
(((hash >> glyphid_cache_lsize) & (glyphid_cache_size - 1)) | 1);
size_t i = hash1;
unsigned count = 0;
do {
++count;
if (glyphid_cache[i].id == NULL) {
/* Empty bucket found */
glyphid_cache[i].id = dupstr(id);
@@ -418,10 +416,8 @@ find_glyph_in_cache(const char *id)
size_t hash2 = (size_t)
(((hash >> glyphid_cache_lsize) & (glyphid_cache_size - 1)) | 1);
size_t i = hash1;
unsigned count = 0;
do {
++count;
if (glyphid_cache[i].id == NULL) {
/* Empty bucket found */
return -1;