diff options
author | emaste <emaste@FreeBSD.org> | 2012-11-20 19:23:44 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2012-11-20 19:23:44 +0000 |
commit | 3c42bc6af3ec177b17f3bf185bf4a3c8ea62edcf (patch) | |
tree | f70c1b0cca684591d7e246fe7b8e77fef9ae3dad | |
parent | 6d46d7b7ab07b512013ff0bcd075462a461ac124 (diff) | |
download | FreeBSD-src-3c42bc6af3ec177b17f3bf185bf4a3c8ea62edcf.zip FreeBSD-src-3c42bc6af3ec177b17f3bf185bf4a3c8ea62edcf.tar.gz |
Non-void function should return a value.
Found by: clang
-rw-r--r-- | tools/regression/lib/libc/resolv/resolv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regression/lib/libc/resolv/resolv.c b/tools/regression/lib/libc/resolv/resolv.c index c61d02e..d481ecf 100644 --- a/tools/regression/lib/libc/resolv/resolv.c +++ b/tools/regression/lib/libc/resolv/resolv.c @@ -226,7 +226,7 @@ resolvloop(void *p) { int *nhosts = (int *)p; if (*nhosts == 0) - return; + return NULL; do resolvone(*nhosts); while (--(*nhosts)); |