]> 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:46 +0000 (09:31 +0000)
committerGitHub <noreply@github.com>
Fri, 1 Feb 2019 09:31:46 +0000 (09:31 +0000)
programs/Makefile

index d1910fbb4b79f900dc392eaa1dff06baf4b8b899..692980e4fee7fef465692f8ef19d405e871dd9c0 100644 (file)
@@ -51,7 +51,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)