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

index a02bd2d7a0e3bb777057e6e34b4df5e15358314e..f8014c625863ff877855505792b04b375a4ae821 100644 (file)
@@ -98,7 +98,7 @@ if use_debug
   if cc_id == compiler_gcc or cc_id == compiler_clang
     libzstd_debug_cflags = ['-Wstrict-aliasing=1', '-Wswitch-enum',
       '-Wdeclaration-after-statement', '-Wstrict-prototypes',
-      '-Wundef', '-Wpointer-arith', '-Wformat-security', '-Wvla',
+      '-Wundef', '-Wpointer-arith', '-Wvla',
       '-Wformat=2', '-Winit-self', '-Wfloat-equal', '-Wwrite-strings',
       '-Wredundant-decls', '-Wmissing-prototypes', '-Wc++-compat']
   endif