Print this page
10080 smatch Makefile changes for usr/src/cmd

@@ -22,10 +22,11 @@
 # Copyright (c) 2013 Gary Mills
 #
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG=           error
 
 include         ../../../Makefile.cmd
 

@@ -41,10 +42,12 @@
 CSTD=   $(CSTD_GNU99)
 
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-parentheses
 
+SMOFF += no_if_block,indenting
+
 CLEANFILES +=   $(LINTOUT)
 
 %.o:            ../common/%.c
                 $(COMPILE.c) $<