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

@@ -21,11 +21,11 @@
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # Copyright 2015 Nexenta Systems, Inc. All rights reserved.
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG= format
 
 COBJS=  add_definition.o analyze.o checkdev.o ctlr_scsi.o \
         defect.o init_menus.o io.o label.o main.o \

@@ -49,10 +49,13 @@
 CERRWARN += -_gcc=-Wno-uninitialized
 CERRWARN += -_gcc=-Wno-parentheses
 CERRWARN += -_gcc=-Wno-unused-label
 CERRWARN += -_gcc=-Wno-clobbered
 
+# not linted
+SMATCH=off
+
 SRCS= $(OBJS:.o=.c)
 
 ROOTSYMLINK= $(ROOTETCPROG)
 ROOTETCDATA= $(ROOTETC)/$(DATA)