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

@@ -21,10 +21,11 @@
 
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 SHELL=/usr/bin/ksh93
 
 include ../Makefile.cmd
 $(SPARC_BLD)include ../Makefile.cmd.64

@@ -61,10 +62,12 @@
 CFLAGS64 += \
         $(ASTCFLAGS64)
 
 CERRWARN +=     -_gcc=-Wno-parentheses
 
+SMOFF +=        all_func_returns
+
 ROOTCMDDIR=$(ROOT)/usr/bin
 
 PROG= shcomp
 
 %.o:    $(LIBSHELLSRC)/%.c