-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Jim Meyering on 6/6/2009 2:41 PM:
> A few of the function declarations in hash.h could benefit from
> gcc's warn_unused_result attribute, so I'm adding it:

Including one in hash.c itself:

hash.c: In function `hash_delete':
hash.c:1015: warning: ignoring return value of `hash_rehash', declared
with attribute warn_unused_result

We should fix this, and decide whether shrinking the hash table when
deletion frees up a bucket is always possible, or else deal with memory
allocation failure here, too.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkosirsACgkQ84KuGfSFAYACDQCgymPeZ35ni0uevjWSeJb+MUMc
Qt8AoKXGIgk6G5VgsTbi6S3qN0lSNBq7
=i35F
-----END PGP SIGNATURE-----


Reply via email to