Print this page
10079 smatch Makefile changes for usr/src/lib

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY = libinetutil.a
 VERS =    .1
 OBJECTS = octet.o inetutil.o ifspec.o ifaddrlist.o ifaddrlistx.o eh.o tq.o
 

@@ -46,10 +47,12 @@
 CFLAGS +=       $(CCVERBOSE)
 CPPFLAGS +=     -I$(SRCDIR)
 
 CERRWARN +=     -_gcc=-Wno-parentheses
 
+SMOFF += index_overflow
+
 .KEEP_STATE:
 
 all: $(LIBS)
 
 lint: lintcheck