From b2bca3e4aa1340f256852ef9a96a150ee551aae5 Mon Sep 17 00:00:00 2001 From: Ruben Dashyan Date: Wed, 3 Jul 2019 12:02:45 +0200 Subject: [PATCH] [apps/shared/sum_graph_controller] Remove redundancy --- apps/shared/sum_graph_controller.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/shared/sum_graph_controller.cpp b/apps/shared/sum_graph_controller.cpp index 25b8c067f..b53b1a328 100644 --- a/apps/shared/sum_graph_controller.cpp +++ b/apps/shared/sum_graph_controller.cpp @@ -147,7 +147,6 @@ void SumGraphController::reloadBannerView() { } else { m_legendView.setEditableZone(m_cursor->x()); result = NAN; - functionLayout = Poincare::Layout(); } m_legendView.setSumSymbol(m_step, m_startSum, m_endSum, result, functionLayout); }