mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 14:29:07 +08:00
14 lines
577 B
Diff
14 lines
577 B
Diff
|
diff --git a/src/core/ext/transport/chttp2/transport/hpack_parser.cc b/src/core/ext/transport/chttp2/transport/hpack_parser.cc
|
||
|
index 18abbda..9789983 100644
|
||
|
--- a/src/core/ext/transport/chttp2/transport/hpack_parser.cc
|
||
|
+++ b/src/core/ext/transport/chttp2/transport/hpack_parser.cc
|
||
|
@@ -1052,7 +1052,7 @@ class HPackParser::Parser {
|
||
|
|
||
|
private:
|
||
|
void GPR_ATTRIBUTE_NOINLINE LogHeader(const HPackTable::Memento& memento) {
|
||
|
- const char* type;
|
||
|
+ const char* type = nullptr;
|
||
|
switch (log_info_.type) {
|
||
|
case LogInfo::kHeaders:
|
||
|
type = "HDR";
|