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

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 SBINPROG = keyserv newkey
 BINPROG = keylogout keylogin domainname chkey
 
 MANIFEST= keyserv.xml

@@ -72,10 +73,13 @@
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-address
 CERRWARN +=     -_gcc=-Wno-unused-function
 
+# not linted
+SMATCH=off
+
 LDLIBS +=       -lnsl
 chkey :=        LDLIBS += -lsldap
 keyserv :=      LDLIBS += -lmp
 newkey  :=      LDLIBS += -lsldap -lsocket