From 32ad42b1627db788aa2a082ac55ef8f91b0a9b67 Mon Sep 17 00:00:00 2001 From: Sven Balzer <4653051+Kyuusokuna@users.noreply.github.com> Date: Tue, 26 Aug 2025 20:38:35 +0200 Subject: [PATCH] fix uninitialized variables --- src/work-calendar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/work-calendar.cpp b/src/work-calendar.cpp index 38ee1da..246fe3d 100644 --- a/src/work-calendar.cpp +++ b/src/work-calendar.cpp @@ -200,10 +200,10 @@ void per_frame(){ //Legende ImGui::TableSetColumnIndex(1); - ImVec4 col; + ImVec4 col = {}; ImGui::ColorButton("colortest", col); ImGui::SameLine(0, 0); - char buf[64]; + char buf[64] = {}; ImGui::InputText("", buf, IM_ARRAYSIZE(buf)); //TODO