From 5d7bd2309b19e451710f4a906ad99cb4d7fe02e5 Mon Sep 17 00:00:00 2001 From: David Wingrove Date: Sun, 24 Feb 2019 17:19:36 -0500 Subject: [PATCH] Fixes warning caused by a missing switch/case. (#2382, #2381) --- imgui.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/imgui.cpp b/imgui.cpp index 830e14a7..80fb3e33 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;