Fixed warning.

This commit is contained in:
Branimir Karadžić 2017-12-14 09:07:53 -08:00
parent 6e70fc172b
commit 8f9aa67771
1 changed files with 1 additions and 1 deletions

View File

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