Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -23,11 +23,11 @@
# Use is subject to license terms.
#
#
# Copyright (c) 2012 by Delphix. All rights reserved.
-# Copyright 2017 Joyent, Inc.
+# Copyright (c) 2018, Joyent, Inc.
#
PROG = isns
DSRC = isns_provider.d
@@ -62,10 +62,13 @@
CERRWARN += -_gcc=-Wno-char-subscripts
CERRWARN += -_gcc=-Wno-ignored-qualifiers
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-implicit-function-declaration
+# not linted
+SMATCH=off
+
CLOBBERFILES += $(DTRACE_HEADER)
obj.o := CERRWARN += -erroff=E_CONST_OBJ_SHOULD_HAVE_INITIZR
obj.o := CERRWARN += -erroff=E_IMPLICIT_DECL_FUNC_RETURN_INT