1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-20 01:26:35 +02:00

Fix unused parameter and unused result warnings

This commit is contained in:
jfreegman
2020-03-15 14:57:00 -04:00
parent 206bf407fd
commit 98cb7f58c0
26 changed files with 350 additions and 71 deletions

View File

@ -6,7 +6,7 @@ CFG_DIR = $(BASE_DIR)/cfg
LIBS = toxcore ncursesw libconfig libcurl
CFLAGS ?= -g
CFLAGS += -std=gnu99 -pthread -Wall -Wpedantic -fstack-protector-all
CFLAGS += -std=gnu99 -pthread -Wall -Wpedantic -Wunused -fstack-protector-all
CFLAGS += '-DTOXICVER="$(VERSION)"' -DHAVE_WIDECHAR -D_XOPEN_SOURCE_EXTENDED -D_FILE_OFFSET_BITS=64
CFLAGS += '-DPACKAGE_DATADIR="$(abspath $(DATADIR))"'
CFLAGS += ${USER_CFLAGS}