From 223b19f11609b08c38a334652e2197eb952cf5b1 Mon Sep 17 00:00:00 2001 From: ocornut Date: Thu, 14 Sep 2023 18:37:30 +0200 Subject: [PATCH] Fixed warning when builidng with IMGUI_DISABLE_DEBUG_TOOLS. --- imgui_widgets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui_widgets.cpp b/imgui_widgets.cpp index 56b91b3a9..2b4d51411 100644 --- a/imgui_widgets.cpp +++ b/imgui_widgets.cpp @@ -6792,7 +6792,7 @@ void ImGui::DebugNodeTypingSelectState(ImGuiTypingSelectState* data) Text("SingleCharMode = %d, Size = %d, Lock = %d", data->Request.SingleCharMode, data->Request.SingleCharSize, data->SingleCharModeLock); Text("LastRequest = time: %.2f, frame: %d", data->LastRequestTime, data->LastRequestFrame); #else - IM_UNUSED(storage); + IM_UNUSED(data); #endif }