From f2a04d689ad656c0ef915261025cb0ce534c4c48 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Fri, 22 Jan 2016 19:14:06 -0500 Subject: static analysis is *AWESOME*! --- src/hash.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/hash.h') diff --git a/src/hash.h b/src/hash.h index 21da10a..4def8fc 100644 --- a/src/hash.h +++ b/src/hash.h @@ -41,8 +41,9 @@ void hash_setfreekey_cb(void*, void (*cb)(void *key)); void hash_free(void*); /* - * insert a pair, returns NULL if NOT already found, otherwise returns - * the existing data pointer without inserting the new pair + * insert a pair, returns NULL if NOT already found (a.k.a. success), + * otherwise returns the existing data pointer without inserting the + * new pair (a.k.a. failure) */ void *hash_insert(void*, const void *key, const void *data); -- cgit v1.1