diff options
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/cpp-httplib-0.5.12/httplib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/cpp-httplib-0.5.12/httplib.h b/third_party/cpp-httplib-0.5.12/httplib.h index 7816df8b..ed7b61e1 100644 --- a/third_party/cpp-httplib-0.5.12/httplib.h +++ b/third_party/cpp-httplib-0.5.12/httplib.h @@ -2906,7 +2906,7 @@ inline ssize_t Stream::write(const std::string &s) { template <typename... Args> inline ssize_t Stream::write_format(const char *fmt, const Args &... args) { - std::array<char, 2048> buf; + std::array<char, 2048> buf{}; #if defined(_MSC_VER) && _MSC_VER < 1900 auto sn = _snprintf_s(buf, bufsiz, buf.size() - 1, fmt, args...); |