Author: truckman
Date: Fri May 13 01:14:38 2016
New Revision: 299584
URL: https://svnweb.freebsd.org/changeset/base/299584
Log:
Mark usage() as __dead2 so that Coverity doesn't think that execution
continues after the call and uses a negative array subscript.
Reported by: Coverity
CID: 1305629
Modified:
head/usr.sbin/binmiscctl/binmiscctl.c
Modified: head/usr.sbin/binmiscctl/binmiscctl.c
==============================================================================
--- head/usr.sbin/binmiscctl/binmiscctl.c Fri May 13 00:58:05 2016
(r299583)
+++ head/usr.sbin/binmiscctl/binmiscctl.c Fri May 13 01:14:38 2016
(r299584)
@@ -133,7 +133,7 @@ static char const *cmd_sysctl_name[] = {
IBE_SYSCTL_NAME_LIST
};
-static void
+static void __dead2
usage(const char *format, ...)
{
va_list args;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"