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

@@ -21,10 +21,11 @@
 #
 #
 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 .KEEP_STATE:
 
 LIBRARY =       libparse.a
 

@@ -43,10 +44,13 @@
 
 CERRWARN        += -_gcc=-Wno-parentheses
 CERRWARN        += -_gcc=-Wno-unused-label
 CERRWARN        += -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 objs/%.o: ../%.c
         $(COMPILE.c) -o $@ $<
         $(POST_PROCESS_O)
 
 all install:    $(LIBRARY)