drop some useless return statements

This commit is contained in:
/dev/humancontroller 2013-04-14 18:33:26 +02:00 committed by Zack Middleton
parent bbd17d75ce
commit 9d626b6a12
15 changed files with 0 additions and 20 deletions

View file

@ -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)

View file

@ -250,7 +250,6 @@ control(Tokenrow *trp)
break;
}
setempty(trp);
return;
}
void *

View file

@ -108,7 +108,6 @@ doinclude(Tokenrow *trp)
return;
syntax:
error(ERROR, "Syntax error in #include");
return;
}
/*

View file

@ -218,7 +218,6 @@ expand(Tokenrow *trp, Nlist *np)
insertrow(trp, ntokc, &ntr);
trp->tp -= rowlen(&ntr);
dofree(ntr.bp);
return;
}
/*