1
0
forked from bip/bip

Fixed a compile warning.

This commit is contained in:
nohar 2007-01-28 18:35:30 +00:00
parent e8775c36c7
commit 965aeb9f6a

View File

@ -556,10 +556,8 @@ char *hash_it_key(hash_iterator_t *h)
void hash_dump(hash_t *h) void hash_dump(hash_t *h)
{ {
hash_iterator_t it; hash_iterator_t it;
for (hash_it_init(h, &it); hash_it_item(&it) ;hash_it_next(&it)) { for (hash_it_init(h, &it); hash_it_item(&it) ;hash_it_next(&it))
void *p = hash_it_item(&it);
printf("%s => %p\n", hash_it_key(&it), hash_it_item(&it)); printf("%s => %p\n", hash_it_key(&it), hash_it_item(&it));
}
} }
char *strmaydup(char *s) char *strmaydup(char *s)