From addfa75eb03cecea3a5640f50e40e2fa471ee8aa Mon Sep 17 00:00:00 2001 From: Martin Ettl Date: Sun, 24 Aug 2014 07:32:27 +0200 Subject: [PATCH] Do not update a variable, which is not used. --- imgui.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index ff7d7a5b..564da42a 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -3464,7 +3464,6 @@ static void Plot(ImGuiPlotType plot_type, const char* label, const float* values else if (plot_type == ImGuiPlotType_Histogram) window->DrawList->AddRectFilled(ImLerp(graph_bb.Min, graph_bb.Max, p0), ImLerp(graph_bb.Min, graph_bb.Max, ImVec2(p1.x, 1.0f))+ImVec2(-1,0), v_hovered == v_idx ? col_hovered : col_base); - v0 = v1; t0 = t1; p0 = p1; }