diff --git a/imgui_widgets.cpp b/imgui_widgets.cpp index 2ac389c..f48a55b 100644 --- a/imgui_widgets.cpp +++ b/imgui_widgets.cpp @@ -2616,6 +2616,7 @@ // FIXME: Facilitate using this in variety of other situations. bool ImGui::InputScalarAsWidgetReplacement(const ImRect& bb, ImGuiID id, const char* label, ImGuiDataType data_type, void* data_ptr, const char* format) { + IM_UNUSED(id); ImGuiContext& g = *GImGui; // On the first frame, g.ScalarAsInputTextId == 0, then on subsequent frames it becomes == id.