Non-void function should return a value.

Found by: clang
This commit is contained in:
emaste 2012-11-20 19:23:44 +00:00
parent 6d46d7b7ab
commit 3c42bc6af3

View File

@ -226,7 +226,7 @@ resolvloop(void *p)
{
int *nhosts = (int *)p;
if (*nhosts == 0)
return;
return NULL;
do
resolvone(*nhosts);
while (--(*nhosts));