From 66da54b3a3c1eeb6d23c430f5fa8b2c28284b0cd Mon Sep 17 00:00:00 2001 From: hasufell Date: Tue, 15 Apr 2014 18:47:39 +0200 Subject: [PATCH] BUILD: ignore -Wunused-parameter Can happen in callback functions and so forth. --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 95b5320..4632fcc 100644 --- a/src/Makefile +++ b/src/Makefile @@ -4,7 +4,7 @@ PKG_CONFIG ?= pkg-config # flags CFLAGS ?= -march=native -O2 -pipe -CFLAGS += -std=c99 -pedantic -Wall -Wextra -Werror -Wno-unused-variable +CFLAGS += -std=c99 -pedantic -Wall -Wextra -Werror -Wno-unused-variable -Wno-unused-parameter ifeq ($(shell $(CC) -v 2>&1 | grep 'gcc version' &>/dev/null && echo 1),1) CFLAGS += -Wno-unused-but-set-variable endif