diff options
author | delphij <delphij@FreeBSD.org> | 2013-01-16 18:15:25 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2013-01-16 18:15:25 +0000 |
commit | 9b39a88281ad790f8bf909ef9a5836eaaa774451 (patch) | |
tree | 4962f2ed2182d9ec3bf58473763b3418a643ae65 /bin/pwait | |
parent | cd9a4ba4e782aa898fb599fc5fa023d83382700d (diff) | |
download | FreeBSD-src-9b39a88281ad790f8bf909ef9a5836eaaa774451.zip FreeBSD-src-9b39a88281ad790f8bf909ef9a5836eaaa774451.tar.gz |
Use a different way to silence clang analyzer as done in r245494 by
explicitly telling the compiler that we are on the exit route.
X-MFC: together with r245494
Diffstat (limited to 'bin/pwait')
-rw-r--r-- | bin/pwait/pwait.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/pwait/pwait.c b/bin/pwait/pwait.c index 8d87a8d..6851fad 100644 --- a/bin/pwait/pwait.c +++ b/bin/pwait/pwait.c @@ -141,6 +141,5 @@ main(int argc, char *argv[]) nleft -= n; } - free(e); - return 0; + exit(EX_OK); } |