Browse Source

Fixed warning when builidng with IMGUI_DISABLE_DEBUG_TOOLS.

ocornut 1 year ago
parent
commit
223b19f116
1 changed files with 1 additions and 1 deletions
  1. 1 1
      imgui_widgets.cpp

+ 1 - 1
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
 }