From: Martin Wilck <mwilck@xxxxxxxx> This file contains just too many "handler" and "snprintf" methods which don't use every argument. Signed-off-by: Martin Wilck <mwilck@xxxxxxxx> --- libmultipath/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libmultipath/Makefile b/libmultipath/Makefile index a2be42ea..e5651e49 100644 --- a/libmultipath/Makefile +++ b/libmultipath/Makefile @@ -50,6 +50,11 @@ all: $(LIBS) nvme-lib.o: nvme-lib.c nvme-ioctl.c nvme-ioctl.h $(CC) $(CFLAGS) -Wno-unused-function -c -o $@ $< +# there are lots of "unused parameters" in dict.c +# because not all handler / snprint methods nees all parameters +dict.o: dict.c + $(CC) $(CFLAGS) -Wno-unused-parameter -c -o $@ $< + make_static = $(shell sed '/^static/!s/^\([a-z]\{1,\} \)/static \1/' <$1 >$2) nvme-ioctl.c: nvme/nvme-ioctl.c -- 2.23.0 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel