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

index 2daf0970f07ebfed0218f1e011e33e741a8fc7a5..2a9cd3d8f649ba0254b2111d0bd8fb26cf4d0cd3 100644 (file)
@@ -33,7 +33,7 @@ endif
 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 -Wmissing-prototypes
 CFLAGS     += $(DEBUGFLAGS) $(MOREFLAGS)