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

@@ -21,10 +21,11 @@
 #
 #
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG=           addbadsec
 OBJECTS=        addbadsec.o ix_altsctr.o
 SRCS=           $(OBJECTS:.o=.c)
 

@@ -32,10 +33,13 @@
 
 CPPFLAGS += -D_EXTVTOC
 
 CERRWARN += -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 all: $(PROG)
 
 $(PROG):        $(OBJECTS)