mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-12 10:11:00 +01:00
Fixed unused variable warning.
This commit is contained in:
parent
07ed9f8451
commit
ac8e708c3e
@ -11434,7 +11434,7 @@ const ImGuiPayload* ImGui::AcceptDragDropPayload(const char* type, ImGuiDragDrop
|
||||
// We don't really use/need this now, but added it for the sake of consistency and because we might need it later.
|
||||
void ImGui::EndDragDropTarget()
|
||||
{
|
||||
ImGuiContext& g = *GImGui;
|
||||
ImGuiContext& g = *GImGui; (void)g;
|
||||
IM_ASSERT(g.DragDropActive);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user