1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

Non-void function should return a value.

Found by: clang
This commit is contained in:
Ed Maste 2012-11-20 19:23:44 +00:00
parent daee0f0b0b
commit c153604de3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=243346

View File

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