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

@@ -19,11 +19,11 @@
 # CDDL HEADER END
 #
 
 #
 # Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
-# Copyright 2017 Joyent, Inc.
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 MYPROG =        svccfg
 PROG =          $(MYPROG)
 

@@ -79,10 +79,13 @@
 CERRWARN +=     -_gcc=-Wno-switch
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-parentheses
 
+# not linted
+SMATCH=off
+
 LFLAGS = -t
 YFLAGS = -d
 
 CLOBBERFILES += svccfg_lex.c svccfg_grammar.c svccfg_grammar.h \
     $(MYPROG:%=%-native)