diff --git a/main.cpp b/main.cpp index 1b67542..16de440 100644 --- a/main.cpp +++ b/main.cpp @@ -33,7 +33,7 @@ int main(int argc, const char *argv[]) forth::initialize<&fth>(dict.end()); fth->add(".", [](auto) { - char buf[32]; + char buf[32] = {}; std::to_chars(buf, buf + sizeof(buf), fth->pop(), fth->base); std::cout << buf << ' '; });