]> 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:29:08 +0000 (09:29 +0000)
committerGitHub <noreply@github.com>
Fri, 1 Feb 2019 09:29:08 +0000 (09:29 +0000)
contrib/adaptive-compression/Makefile

index c26efcd2815bcfdc856eeed2195592193d5e5d1c..2c6867f5cb73cc35b7c164f7b134b3af9a01f978 100644 (file)
@@ -13,7 +13,7 @@ CPPFLAGS += -I$(ZSTDDIR) -I$(ZSTDDIR)/common -I$(ZSTDDIR)/compress \
 CFLAGS   ?= -O3
 CFLAGS   += -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow                 \
             -Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement \
-            -Wstrict-prototypes -Wundef -Wformat-security                   \
+            -Wstrict-prototypes -Wundef                                     \
             -Wvla -Wformat=2 -Winit-self -Wfloat-equal -Wwrite-strings      \
             -Wredundant-decls
 CFLAGS   += $(DEBUGFLAGS)