From: Christoph Egger Date: Fri, 20 Mar 2015 12:51:31 +0000 (+0100) Subject: Don't save the function we're not using X-Git-Tag: v0.1~26 X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=4a6fbb89405d47cd431157c10db4ab36a19cbb51;p=frida%2Ffrida.git Don't save the function we're not using Silences unused variable compiler warnung --- 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(); }