Enable more warnings (thanks to Alexandre LAURENT)

This commit is contained in:
Arnout Engelen
2013-05-12 12:54:11 +00:00
parent d097ecbd4e
commit f6220a3c0d
2 changed files with 4 additions and 3 deletions

View File

@@ -16,8 +16,8 @@ runtests: test
# nethogs_testsum
CFLAGS=-Wall
CXXFLAGS=-Wall
CFLAGS=-Wall -Wextra
CXXFLAGS=-Wall -Wextra
OBJS=packet.o connection.o process.o refresh.o decpcap.o cui.o inode2prog.o conninode.o devices.o
.PHONY: tgz
@@ -72,3 +72,4 @@ clean:
rm -f $(OBJS)
rm -f nethogs
rm -f test
rm -f decpcap_test

View File

@@ -28,7 +28,7 @@
extern bool needrefresh;
extern unsigned refreshdelay;
void alarm_cb (int i)
void alarm_cb (int /*i*/)
{
needrefresh = true;
//cout << "Setting needrefresh\n";