Fixes warning caused by a missing switch/case. (#2382, #2381)

This commit is contained in:
David Wingrove 2019-02-24 17:19:36 -05:00 committed by omar
parent c3ea1748dc
commit 5d7bd2309b

View file

@ -8930,6 +8930,9 @@ void ImGui::LogFinish()
if (!g.LogBuffer.empty())
SetClipboardText(g.LogBuffer.begin());
break;
case ImGuiLogType_None:
IM_ASSERT(0);
break;
}
g.LogEnabled = false;