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

@@ -20,11 +20,13 @@
 #
 #
 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
+
 LIBRARY= libdyn.a
 VERS= .1
 
 DYNOBJS= \
         dyn_create.o \

@@ -61,10 +63,12 @@
 CFLAGS +=       $(CCVERBOSE) -I..
 LDLIBS +=       -lc
 
 CERRWARN +=     -_gcc=-Wno-unused-variable
 
+SMOFF += no_if_block
+
 .KEEP_STATE:
 
 all:    $(LIBS)
 
 lint:   lintcheck