Fixed a compile warning.

This commit is contained in:
nohar 2007-01-28 18:35:30 +00:00
parent e8775c36c7
commit 965aeb9f6a
1 changed files with 1 additions and 3 deletions

View File

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