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

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY= libldap.a
 VERS= .5
 
 # Definition of all the objects macros

@@ -118,10 +119,13 @@
 CERRWARN +=     -_gcc=-Wno-unused-function
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-unused-value
 CERRWARN +=     -_gcc=-Wno-address
 
+# not linted
+SMATCH=off
+
 LDLIBS +=       -lsasl -lsocket -lnsl -lmd -lc
 
 .KEEP_STATE:
 
 # include library targets