10079 smatch Makefile changes for usr/src/lib
*** 20,29 **** --- 20,30 ---- # # # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # + # Copyright (c) 2018, Joyent, Inc. LIBRARY = libpapi.a VERS = .0 OBJECTS = job.o nss.o printer.o psm.o service.o
*** 46,55 **** --- 47,58 ---- CPPFLAGS += -DNSS_SOLARIS LDLIBS += -lc CERRWARN += -_gcc=-Wno-unused-variable + SMOFF += all_func_returns + .KEEP_STATE: all: $(LIBS) lint: lintcheck