ck_ht: key_length/key are only needed if PP is enabled.

ck_pring
Samy Al Bahra 13 years ago
parent bac1c1d26a
commit e5cd9fa322

@ -476,8 +476,10 @@ restart:
continue; continue;
if (table->mode == CK_HT_MODE_BYTESTRING) { if (table->mode == CK_HT_MODE_BYTESTRING) {
#ifdef CK_HT_PP
void *key; void *key;
uint16_t key_length; uint16_t key_length;
#endif
key = ck_ht_entry_key(previous); key = ck_ht_entry_key(previous);
key_length = ck_ht_entry_key_length(previous); key_length = ck_ht_entry_key_length(previous);

Loading…
Cancel
Save