Enable -Wno-unused-parameter
Instead of adding __attribute__((unused)) to unused arguments, add the -Wno-unused-parameter compiler flag. Signed-off-by: Bart Van Assche <bvanassche@acm.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
AM_CPPFLAGS=-I. -I${srcdir}/../include "-D_U_=__attribute__((unused))"
|
||||
AM_CPPFLAGS=-I. -I${srcdir}/../include
|
||||
AM_CFLAGS=$(WARN_CFLAGS)
|
||||
AM_LDFLAGS=-no-undefined
|
||||
LIBS=../lib/libiscsi.la
|
||||
|
||||
Reference in New Issue
Block a user