Print this page
11506 smatch resync
*** 22,31 ****
--- 22,33 ----
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Copyright 2015 RackTop Systems.
#
+ # Copyright 2019 Joyent, Inc.
+ #
MYPROG = svc.configd
MYOBJS = \
backend.o \
configd.o \
*** 58,70 ****
CERRWARN += -_gcc=-Wno-type-limits
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-uninitialized
MYLDLIBS = -lumem -luutil
LDLIBS += -lsecdb -lbsm $(MYLDLIBS)
- LINTFLAGS += -errtags -erroff=E_BAD_FORMAT_ARG_TYPE2 -erroff=E_NAME_DEF_NOT_USED2
CLOBBERFILES += $(MYPROG:%=%-native)
LIBUUTIL = $(SRC)/lib/libuutil
LIBSCF = $(SRC)/lib/libscf
--- 60,75 ----
CERRWARN += -_gcc=-Wno-type-limits
CERRWARN += -_gcc=-Wno-unused-label
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-unused-function
CERRWARN += -_gcc=-Wno-uninitialized
+
+ # strange false positive
+ SMOFF += free
+
MYLDLIBS = -lumem -luutil
LDLIBS += -lsecdb -lbsm $(MYLDLIBS)
CLOBBERFILES += $(MYPROG:%=%-native)
LIBUUTIL = $(SRC)/lib/libuutil
LIBSCF = $(SRC)/lib/libscf
*** 123,134 ****
clean: FRC
$(RM) $(MYOBJS) $(MYOBJS:%.o=%-native.o)
clobber:
- lint: lint_SRCS
-
- lint_SRCS:
-
include ../../Makefile.targ
FRC:
--- 128,135 ----