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= libkadm5srv.a
 VERS= .1
 
 SRV_OBJS = svr_policy.o \

@@ -91,10 +92,12 @@
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-type-limits
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+SMOFF += all_func_returns,indenting
+
 .KEEP_STATE:
 
 all:    $(LIBS)
 
 lint:   lintcheck