Fixed unused variable warning.

This commit is contained in:
Branimir Karadžić 2017-12-14 09:08:18 -08:00 committed by omar
parent 07ed9f8451
commit ac8e708c3e

View file

@ -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);
}