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

@@ -1,8 +1,9 @@
 #
 # Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
 # Copyright 2011 Nexenta Systems, Inc. All rights reserved.
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 PROG=           pppdump
 OBJS=           bsd-comp.o deflate.o pppdump.o zlib.o
 SRCS=           $(OBJS:%.o=%.c)

@@ -14,10 +15,13 @@
 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 all:            $(PROG)
 
 $(PROG):        $(OBJS)