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

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG =          wpad
 MANIFEST =      wpa.xml
 OBJS =          wpa_supplicant.o wpa.o wpa_enc.o eloop.o \
                 driver_wifi.o l2_packet.o

@@ -35,10 +36,12 @@
 LDLIBS    +=    -ldladm -ldlpi
 all install := LDLIBS += -lcrypto
 
 LINTFLAGS +=    -u
 
+SMOFF += all_func_returns
+
 .KEEP_STATE:
 
 all:            $(PROG)
 
 $(PROG):        $(OBJS)