From 79888fe7369479c398bafe064daa19a7ae30f710 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Fri, 12 Nov 2021 10:40:26 -0800 Subject: [PATCH] Silence a zstd-jni GCC warning. Partial commit for third_party/*, see #14267. Closes https://github.com/bazelbuild/bazel/pull/14267 Signed-off-by: Yun Peng --- third_party/zstd-jni/zstd-jni.BUILD | 1 + 1 file changed, 1 insertion(+) diff --git a/third_party/zstd-jni/zstd-jni.BUILD b/third_party/zstd-jni/zstd-jni.BUILD index 6741c6b200b4f5..a70437c0da9890 100644 --- a/third_party/zstd-jni/zstd-jni.BUILD +++ b/third_party/zstd-jni/zstd-jni.BUILD @@ -18,6 +18,7 @@ cc_binary( "//conditions:default": [ "-std=c99", "-Wno-unused-variable", + "-Wno-maybe-uninitialized", "-Wno-sometimes-uninitialized", ] }),