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

@@ -19,11 +19,11 @@
 # CDDL HEADER END
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# cmd/write/Makefile
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG= write
 
 include ../Makefile.cmd
 

@@ -36,10 +36,12 @@
 .KEEP_STATE:
 
 CFLAGS += $(CCVERBOSE)
 CERRWARN += -_gcc=-Wno-unused-variable
 
+SMOFF += all_func_returns
+
 all: $(PROG)
 
 install: all $(ROOTPROG)
 
 clean: