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.
 
 PROG=           zstreamdump
 OBJS=           zstreamdump.o
 SRCS=           $(OBJS:%.o=%.c)
 POFILE=         zstreamdump.po

@@ -45,10 +46,13 @@
 LINTFLAGS += -xerroff=E_NAME_DEF_NOT_USED2 
 LINTFLAGS64 += -xerroff=E_NAME_DEF_NOT_USED2 
 
 CERRWARN += -_gcc=-Wno-switch
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 .PARALLEL:
 
 all: $(PROG)