Index: src/uri.cc |
diff --git a/src/uri.cc b/src/uri.cc |
index 2736b2d74b744bf045cb33e30d6412c39b30e4d8..642121369f9a27bb6a433fad37fab82dd914c453 100644 |
--- a/src/uri.cc |
+++ b/src/uri.cc |
@@ -241,7 +241,7 @@ void AddHexEncodedToBuffer(uint8_t octet, List<uint8_t>* buffer) { |
} |
void EncodeSingle(uc16 c, List<uint8_t>* buffer) { |
- char s[4]; |
+ char s[4] = {}; |
int number_of_bytes; |
number_of_bytes = |
unibrow::Utf8::Encode(s, c, unibrow::Utf16::kNoPreviousCharacter, false); |