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 inline ssize_t Stream::write_format(const char *fmt, const Args &... args) { - std::array buf; + std::array buf{}; #if defined(_MSC_VER) && _MSC_VER < 1900 auto sn = _snprintf_s(buf, bufsiz, buf.size() - 1, fmt, args...);