diff --git a/Makefile b/Makefile index 70a3c2c..52eaef2 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/refresh.cpp b/refresh.cpp index 19341d0..5195983 100644 --- a/refresh.cpp +++ b/refresh.cpp @@ -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";