diff --git a/src/Magnum/Platform/GlfwApplication.cpp b/src/Magnum/Platform/GlfwApplication.cpp index 144d3359d..6316cfee9 100644 --- a/src/Magnum/Platform/GlfwApplication.cpp +++ b/src/Magnum/Platform/GlfwApplication.cpp @@ -503,7 +503,7 @@ void GlfwApplication::setupCallbacks() { if(!(app._flags & Flag::TextInputActive)) return; - char utf8[4]; + char utf8[4]{}; const std::size_t size = Utility::Unicode::utf8(codepoint, utf8); TextInputEvent e{{utf8, size}}; app.textInputEvent(e);