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

@@ -9,10 +9,11 @@
 # at http://www.illumos.org/license/CDDL.
 #
 
 #
 # Copyright 2010 Chris Love.  All rights reserved.
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 
 PROG=           tail
 XPG4PROG=       $(PROG)

@@ -27,10 +28,12 @@
 
 CSTD=   $(CSTD_GNU99)
 C99LMODE=       -Xc99=%all
 LINTFLAGS +=    -I. -erroff=E_CONSTANT_CONDITION
 
+SMOFF += leaks
+
 # install rules
 $(ROOTINC)/% : %
         $(INS.file)
 
 .KEEP_STATE: