drop some useless return statements
This commit is contained in:
parent
bbd17d75ce
commit
9d626b6a12
15 changed files with 0 additions and 20 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue