]> git.siccegge.de Git - frida/frida.git/commitdiff
Don't save the function we're not using
authorChristoph Egger <Christoph.Egger@fau.de>
Fri, 20 Mar 2015 12:51:31 +0000 (13:51 +0100)
committerChristoph Egger <Christoph.Egger@fau.de>
Fri, 20 Mar 2015 12:51:31 +0000 (13:51 +0100)
Silences unused variable compiler warnung

src/core/InformationManager.cxx

index 8834a7a39f479b49a0d9b9dad115eaf7269d33cc..6179f5f1ff2d83c5287ed07f629674907da15139 100644 (file)
@@ -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();
        }