aboutsummaryrefslogtreecommitdiffstats
path: root/testing/grpc/01-chttp2-maybe-uninitialized.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/grpc/01-chttp2-maybe-uninitialized.patch')
-rw-r--r--testing/grpc/01-chttp2-maybe-uninitialized.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/grpc/01-chttp2-maybe-uninitialized.patch b/testing/grpc/01-chttp2-maybe-uninitialized.patch
new file mode 100644
index 0000000000..b531fbc882
--- /dev/null
+++ b/testing/grpc/01-chttp2-maybe-uninitialized.patch
@@ -0,0 +1,10 @@
+--- a/src/core/ext/transport/chttp2/transport/chttp2_transport.cc
++++ b/src/core/ext/transport/chttp2/transport/chttp2_transport.cc
+@@ -978,6 +978,7 @@
+ } else {
+ r = grpc_chttp2_begin_write(t);
+ }
++ #pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
+ if (r.writing) {
+ if (r.partial) {
+ GRPC_STATS_INC_HTTP2_PARTIAL_WRITES();