Fixed a compile warning.
This commit is contained in:
parent
e8775c36c7
commit
965aeb9f6a
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user