Print this page
10079 smatch Makefile changes for usr/src/lib

@@ -20,10 +20,11 @@
 #
 
 #
 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 
 SHELL=/usr/bin/ksh93
 
 LIBRARY =       libcmd.a

@@ -136,10 +137,13 @@
 CERRWARN        += -_gcc=-Wno-parentheses
 CERRWARN        += -_gcc=-Wno-uninitialized
 CERRWARN        += -_gcc=-Wno-unused-variable
 CERRWARN        += -_gcc=-Wno-implicit-function-declaration
 
+# not linted
+SMATCH=off
+
 pics/cut.o      := CERRWARN += -erroff=E_END_OF_LOOP_CODE_NOT_REACHED
 pics/sync.o     := CERRWARN += -erroff=E_END_OF_LOOP_CODE_NOT_REACHED
 pics/vmstate.o  := CERRWARN += -erroff=E_NO_IMPLICIT_DECL_ALLOWED
 
 .KEEP_STATE: