From 4a6fbb89405d47cd431157c10db4ab36a19cbb51 Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Fri, 20 Mar 2015 13:51:31 +0100 Subject: [PATCH] Don't save the function we're not using Silences unused variable compiler warnung --- src/core/InformationManager.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/InformationManager.cxx b/src/core/InformationManager.cxx index 8834a7a..6179f5f 100644 --- a/src/core/InformationManager.cxx +++ b/src/core/InformationManager.cxx @@ -76,7 +76,7 @@ void InformationManager::load(const std::string& filename) { QXmlStreamReader reader(&file); assert(QXmlStreamReader::StartDocument == reader.readNext()); assert(QXmlStreamReader::StartElement == reader.readNext()); - Function * fun = Function::deserialize(reader, this); + Function::deserialize(reader, this); } file.close(); } -- 2.39.5