Removing unneeded local variable in CompilerStack::getDocumentation()

This commit is contained in:
Lefteris Karapetsas 2014-12-02 12:14:24 +01:00
parent 0d3ab07ad1
commit af9fb9917c

View File

@ -136,8 +136,7 @@ string const& CompilerStack::getDocumentation()
Json::Value doc;
Json::Value methods(Json::objectValue);
vector<FunctionDefinition const*> exportedFunctions = m_contractASTNode->getInterfaceFunctions();
for (FunctionDefinition const* f: exportedFunctions)
for (FunctionDefinition const* f: m_contractASTNode->getInterfaceFunctions())
{
Json::Value user;
auto strPtr = f->getDocumentation();