aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Steven Schubiger <stsc@refcnt.org> 2013-01-25 00:45:50 +0100
committerGravatar Steven Schubiger <stsc@refcnt.org> 2013-01-25 00:45:50 +0100
commit7d6efcbd7ed508317a494121e4da50f290935806 (patch)
treec9abe59ff28ba959d7d5fea8f2b90463eb11a550
parentca8ab7e39af7b3b6d263329bb605925f693d23b8 (diff)
downloadcolorize-7d6efcbd7ed508317a494121e4da50f290935806.tar.gz
colorize-7d6efcbd7ed508317a494121e4da50f290935806.tar.bz2
add -Wno-unused-parameter
-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
{