diff --git a/imgui.cpp b/imgui.cpp index 830e14a7b..80fb3e335 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -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;