From: Costin Lupu Date: Wed, 4 Sep 2019 19:09:12 +0000 (+0300) Subject: Makefile.uk: Suppress 'unused parameters' warnings X-Git-Tag: RELEASE-0.4~30 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c248e39bfc8febace1e8ea7e5ff6869147ba00a7;p=unikraft%2Flibs%2Flwip.git Makefile.uk: Suppress 'unused parameters' warnings It's simpler to suppress the warning rather than add '__unused' qualifier each time. This also seems it was the initial intention behind using '-Wunused-parameter', given that all warnings are enabled by default. Signed-off-by: Costin Lupu Reviewed-by: Vlad-Andrei Badoiu --- diff --git a/Makefile.uk b/Makefile.uk index 99fc062..2292cb4 100644 --- a/Makefile.uk +++ b/Makefile.uk @@ -63,7 +63,7 @@ CXXINCLUDES-$(CONFIG_LIBLWIP) += -I$(LIBLWIP_BASE)/include -I$(LIBLWIP_EXTRACTED ################################################################################ # Library flags ################################################################################ -LIBLWIP_CFLAGS-y += -Wno-type-limits -Wunused-parameter +LIBLWIP_CFLAGS-y += -Wno-type-limits -Wno-unused-parameter LIBLWIP_CFLAGS-$(CONFIG_LWIP_DEBUG) += -DUK_DEBUG LIBLWIP_CFLAGS-y += -D__IN_LIBLWIP__ LIBLWIP_CXXFLAGS-y += -D__IN_LIBLWIP__