Print this page
10703 smatch unreachable code checking needs reworking
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>

*** 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 --- 20,31 ---- # # # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # ! # Copyright 2019 Joyent, Inc. ! # PROG= zonecfg OBJS= zonecfg.o zonecfg_lex.o zonecfg_grammar.tab.o include ../Makefile.cmd
*** 47,56 **** --- 48,60 ---- CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-implicit-function-declaration SMOFF += all_func_returns + # false positive + zonecfg_lex.o := SMOFF += free + CLOBBERFILES += $(PROG).ln .KEEP_STATE: all: $(PROG)