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>
*** 18,44 ****
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
- #ident "%Z%%M% %I% %E% SMI"
- #
# Copyright (c) 1989 by Sun Microsystems, Inc.
#
PROG= ul
include ../Makefile.cmd
LDLIBS += -lcurses
.KEEP_STATE:
all: $(PROG)
install: all $(ROOTPROG)
clean:
- lint: lint_PROG
-
include ../Makefile.targ
--- 18,45 ----
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright (c) 1989 by Sun Microsystems, Inc.
#
+ # Copyright 2019 Joyent, Inc.
+ #
PROG= ul
include ../Makefile.cmd
LDLIBS += -lcurses
+ # false positive
+ SMOFF += unreachable
+
.KEEP_STATE:
all: $(PROG)
install: all $(ROOTPROG)
clean:
include ../Makefile.targ