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.
 
 PROG= stty ttymon ttyadm sttydefs
 XPG4PROG= stty
 
 # the 'stty' objects have to be made in a separate directory

@@ -76,10 +77,13 @@
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-extra
 
+# not linted
+SMATCH=off
+
 #
 # Message catalog
 #
 POFILES= $(STTYOBJ:sttyobjs/%.o=%.po)
 POFILE= ttymon.po