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:
@@ -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
|
||||
|
Reference in New Issue
Block a user