]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
-Wformat-security not needed with -Wformat=2
authorPeter (Stig) Edwards <thatsafunnyname@gmail.com>
Fri, 1 Feb 2019 09:31:02 +0000 (09:31 +0000)
committerGitHub <noreply@github.com>
Fri, 1 Feb 2019 09:31:02 +0000 (09:31 +0000)
lib/Makefile

index 386583e728b919b5607aa3adecd8b9827cffc309..6a912a6576d04955b4f9cad9402e63d9c70c4ce2 100644 (file)
@@ -25,7 +25,7 @@ endif
 CFLAGS  ?= -O3
 DEBUGFLAGS= -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \
             -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement \
-            -Wstrict-prototypes -Wundef -Wpointer-arith -Wformat-security \
+            -Wstrict-prototypes -Wundef -Wpointer-arith \
             -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings \
             -Wredundant-decls -Wmissing-prototypes -Wc++-compat
 CFLAGS  += $(DEBUGFLAGS) $(MOREFLAGS)