Print this page
10079 smatch Makefile changes for usr/src/lib

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY= libkdb.a
 VERS= .1
 
 # kdb

@@ -85,10 +86,12 @@
 CERRWARN +=     -_gcc=-Wno-unused-function
 CERRWARN +=     -_gcc=-Wno-type-limits
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-parentheses
 
+SMOFF += indenting,all_func_returns,deref_check,signed
+
 DYNFLAGS +=     $(KRUNPATH) $(KMECHLIB)
 LDLIBS +=       -lc -lnsl
 
 .KEEP_STATE: