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= libkadm5clnt.a
 VERS= .1
 
 CLNT_OBJS = clnt_policy.o \

@@ -84,10 +85,12 @@
 CERRWARN +=     -_gcc=-Wno-unused-function
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+SMOFF += all_func_returns,indenting,no_if_block
+
 LDLIBS +=       -lc
 
 .KEEP_STATE:
 
 all:    $(LIBS)