Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 20,29 ****
--- 20,30 ----
#
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+ # Copyright (c) 2018, Joyent, Inc.
PROG= zonecfg
OBJS= zonecfg.o zonecfg_lex.o zonecfg_grammar.tab.o
include ../Makefile.cmd
*** 44,53 ****
--- 45,56 ----
CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-implicit-function-declaration
+ SMOFF += all_func_returns
+
CLOBBERFILES += $(PROG).ln
.KEEP_STATE:
all: $(PROG)