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

@@ -19,11 +19,11 @@
 # CDDL HEADER END
 #
 #
 # Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
 # Copyright (c) 2013, 2016 by Delphix. All rights reserved.
-# Copyright 2017 Joyent, Inc.
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 LIBRARY= libzpool.a
 VERS= .1
 

@@ -82,10 +82,13 @@
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-empty-body
 CERRWARN +=     -_gcc=-Wno-unused-function
 CERRWARN +=     -_gcc=-Wno-unused-label
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 all: $(LIBS)
 
 lint: $(LINTLIB)