From 81621eede16a4d88c7798c2d6b23df586b385f09 Mon Sep 17 00:00:00 2001 From: Maharramoff Date: Tue, 19 Mar 2019 01:57:52 +0400 Subject: [PATCH] two return statements --- src/CalcManager/CalculatorHistory.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/CalcManager/CalculatorHistory.cpp b/src/CalcManager/CalculatorHistory.cpp index 9eea1068..383a06e7 100644 --- a/src/CalcManager/CalculatorHistory.cpp +++ b/src/CalcManager/CalculatorHistory.cpp @@ -43,7 +43,6 @@ unsigned int CalculatorHistory::AddItem(_In_ shared_ptr const &spHi m_historyItems.push_back(spHistoryItem); unsigned int lastIndex = static_cast(m_historyItems.size() - 1); return lastIndex; -return lastIndex; } bool CalculatorHistory::RemoveItem(_In_ unsigned int uIdx)