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.
 
 DEFAULTFILES =  cron.dfl
 
 include         ../Makefile.cmd
 

@@ -37,10 +38,13 @@
 CERRWARN +=     -_gcc=-Wno-unused-label
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-unused-value
 
+# not linted
+SMATCH=off
+
 ROOTVAR =       $(ROOT)/var
 
 ROOTSPCRON =    $(ROOTVAR)/spool/cron
 ROOTCROND =     $(ROOTETC)/cron.d
 ROOTCRONTABS =  $(ROOTSPCRON)/crontabs