[cache] Minor clean-ups.

* src/cache/ftccache.h (FTC_CACHE_LOOKUP_CMP): Remove parantheses.
* src/cache/ftccache.c (FTC_Cache_Lookup): Ditto.
(FTC_Cache_RemoveFaceID): Remove unnecessary variable.
unsigned-revisions
Alexei Podtelezhnikov 3 years ago
parent 0b429b609c
commit 529158983d
  1. 5
      src/cache/ftccache.c
  2. 2
      src/cache/ftccache.h

@ -527,7 +527,7 @@
goto NewNode;
}
else
pnode = &((*pnode)->link);
pnode = &(*pnode)->link;
}
}
@ -570,8 +570,7 @@
count = cache->p + cache->mask + 1;
for ( i = 0; i < count; i++ )
{
FTC_Node* bucket = cache->buckets + i;
FTC_Node* pnode = bucket;
FTC_Node* pnode = cache->buckets + i;
for (;;)

@ -251,7 +251,7 @@ FT_BEGIN_HEADER
goto NewNode_; \
} \
else \
_pnode = &((*_pnode)->link); \
_pnode = &(*_pnode)->link; \
} \
} \
\

Loading…
Cancel
Save