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);
 }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to