Browse Source

Removing unneeded local variable in CompilerStack::getDocumentation()

cl-refactor
Lefteris Karapetsas 11 years ago
parent
commit
c89fc7df63
  1. 3
      libsolidity/CompilerStack.cpp

3
libsolidity/CompilerStack.cpp

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

Loading…
Cancel
Save