svn commit: r245506 - head/bin/pwait
Xin LI
delphij at FreeBSD.org
Wed Jan 16 18:15:26 UTC 2013
Author: delphij
Date: Wed Jan 16 18:15:25 2013
New Revision: 245506
URL: http://svnweb.freebsd.org/changeset/base/245506
Log:
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
Modified:
head/bin/pwait/pwait.c
Modified: head/bin/pwait/pwait.c
==============================================================================
--- head/bin/pwait/pwait.c Wed Jan 16 09:07:49 2013 (r245505)
+++ head/bin/pwait/pwait.c Wed Jan 16 18:15:25 2013 (r245506)
@@ -141,6 +141,5 @@ main(int argc, char *argv[])
nleft -= n;
}
- free(e);
- return 0;
+ exit(EX_OK);
}
More information about the svn-src-head
mailing list