1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-12 10:11:00 +01:00

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;