Enable more warnings (thanks to Alexandre LAURENT)
This commit is contained in:
5
Makefile
5
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
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user