Fix even more warnings in libwww2

Now that -Wall is turned on, it's possible to remove all sort of
unused / unread variables and even fix one case of a missing
initialization.
This commit is contained in:
Robert Clausecker
2013-03-10 01:20:17 +01:00
parent 39b76427ae
commit 62396c5250
11 changed files with 238 additions and 349 deletions

View File

@@ -226,8 +226,13 @@ customflags =
# ---------------------- END OF CUSTOMIZABLE OPTIONS -------------------------
# Disable certain warnings as we don't care for them
CWARNINGS = -Wno-parentheses -Wno-switch-enum
CFLAGS = -g $(sysconfigflags) $(prereleaseflags) $(CWARNINGS)
CWARNINGS = -Wall \
-Wno-parentheses \
-Wno-switch -Wno-switch-enum \
-Wno-char-subscripts \
-Wno-unused-result
CFLAGS = -g $(sysconfigflags) $(prereleaseflags) $(CWARNINGS) $(customflags)
# Don't worry about these -- for development purposes only.
PURIFY = purify