Non-void function should return a value.
Found by: clang
This commit is contained in:
parent
6d46d7b7ab
commit
3c42bc6af3
@ -226,7 +226,7 @@ resolvloop(void *p)
|
||||
{
|
||||
int *nhosts = (int *)p;
|
||||
if (*nhosts == 0)
|
||||
return;
|
||||
return NULL;
|
||||
do
|
||||
resolvone(*nhosts);
|
||||
while (--(*nhosts));
|
||||
|
Loading…
x
Reference in New Issue
Block a user