aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rwxr-xr-xtest.pl2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b332cda..a51d1c3 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
SHELL=/bin/sh
CC=gcc
-CFLAGS=-Wall -Wextra -Wformat -Wswitch-default -Wuninitialized -Wunused
+CFLAGS=-Wall -Wextra -Wformat -Wswitch-default -Wuninitialized -Wunused -Wno-unused-parameter
colorize: colorize.o
$(CC) -o $@ $<
diff --git a/test.pl b/test.pl
index d8fc52a..5329e1f 100755
--- a/test.pl
+++ b/test.pl
@@ -9,7 +9,7 @@ use Test::More tests => 9;
my $BUF_SIZE = 1024;
my $source = 'colorize.c';
-my $warning_flags = '-Wall -Wextra -Wformat -Wswitch-default -Wuninitialized -Wunused';
+my $warning_flags = '-Wall -Wextra -Wformat -Wswitch-default -Wuninitialized -Wunused -Wno-unused-parameter';
my $write_to_tmpfile = sub
{