drop some useless return statements
This commit is contained in:
1 parent
bbd17d75ce
commit
9d626b6a12
15 files changed
-20
No files matched your search
@@ -250,7 +250,6 @@ static void hashtable_init (hashtable_t *H, int buckets)
|
||||
{
|
||||
H->buckets = buckets;
|
||||
H->table = calloc(H->buckets, sizeof(*(H->table)));
|
||||
return;
|
||||
}
|
||||
|
||||
static hashtable_t *hashtable_new (int buckets)
|
||||
@@ -285,7 +284,6 @@ static void hashtable_add (hashtable_t *H, int hashvalue, void *datum)
|
||||
}
|
||||
hc->data = datum;
|
||||
hc->next = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
static hashchain_t *hashtable_get (hashtable_t *H, int hashvalue)
|
||||
|
||||
Reference in new issue
Block a user