Print this page
10804 Enable unused warnings outside of uts
Reviewed by: Andy Stormont <astormont@racktopsystems.com>
Reviewed by: Toomas Soome <tsoome@me.com>

*** 20,30 **** # # # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. # ! # Copyright (c) 2018, Joyent, Inc. LIBRARY= udapl_tavor.a VERS= .1 LOCOBJS = \ --- 20,30 ---- # # # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. # ! # Copyright 2019, Joyent, Inc. LIBRARY= udapl_tavor.a VERS= .1 LOCOBJS = \
*** 151,165 **** CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-uninitialized CERRWARN += -_gcc=-Wno-switch # not linted SMATCH=off - $(NOT_RELEASE_BUILD)CPPFLAGS += -DDAPL_DBG - .KEEP_STATE: all: $(LIBS) debug: all --- 151,166 ---- CERRWARN += -_gcc=-Wno-parentheses CERRWARN += -_gcc=-Wno-uninitialized CERRWARN += -_gcc=-Wno-switch + $(NOT_RELEASE_BUILD)CPPFLAGS += -DDAPL_DBG + $(RELEASE_BUILD)CERRWARN += -_gcc=-Wno-unused + # not linted SMATCH=off .KEEP_STATE: all: $(LIBS) debug: all