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

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG= tnd
 OBJS= tnd.o
 
 SRCS= $(OBJS:.o=.c)

@@ -45,10 +46,12 @@
 CPPFLAGS += -DDEBUG
 
 CERRWARN += -_gcc=-Wno-unused-value
 CERRWARN += -_gcc=-Wno-parentheses
 
+SMOFF += no_if_block
+
 .KEEP_STATE:
 
 all:    $(PROG)
 
 install:        all $(ROOTTSOLPROG) $(ROOTMANIFEST) $(ROOTSVCMETHOD) \