From 17ffa29fce56983d8c6e2b78634b4ff36363fb5b Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Fri, 9 Oct 2015 14:53:24 -0300 Subject: Removed unnecessary assignments in HistoryGraph. --- historygraph.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'historygraph.cpp') diff --git a/historygraph.cpp b/historygraph.cpp index 1a1a579..a6706f9 100644 --- a/historygraph.cpp +++ b/historygraph.cpp @@ -54,7 +54,6 @@ HistoryGraph::HistoryItemNode::~HistoryItemNode() if (m_next) { delete m_next; - m_next = 0; } } @@ -102,7 +101,6 @@ HistoryGraph::HistoryGraph(QQuickItem *parent) HistoryGraph::~HistoryGraph() { delete m_firstNode; - m_firstNode = 0; } void HistoryGraph::addHistoryItem(const arma::mat &item) -- cgit v1.2.3