aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerStack.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2014-12-02 19:14:24 +0800
committerLefteris Karapetsas <lefteris@refu.co>2014-12-02 19:14:24 +0800
commitaf9fb9917c338522d1949e2767c9709c770b2879 (patch)
treeec3409432bc10f4805e674920296f856a3f84cd7 /CompilerStack.cpp
parent0d3ab07ad1863ad89785c3e66d4e1969eac98a29 (diff)
downloaddexon-solidity-af9fb9917c338522d1949e2767c9709c770b2879.tar
dexon-solidity-af9fb9917c338522d1949e2767c9709c770b2879.tar.gz
dexon-solidity-af9fb9917c338522d1949e2767c9709c770b2879.tar.bz2
dexon-solidity-af9fb9917c338522d1949e2767c9709c770b2879.tar.lz
dexon-solidity-af9fb9917c338522d1949e2767c9709c770b2879.tar.xz
dexon-solidity-af9fb9917c338522d1949e2767c9709c770b2879.tar.zst
dexon-solidity-af9fb9917c338522d1949e2767c9709c770b2879.zip
Removing unneeded local variable in CompilerStack::getDocumentation()
Diffstat (limited to 'CompilerStack.cpp')
-rw-r--r--CompilerStack.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/CompilerStack.cpp b/CompilerStack.cpp
index 2b299158..48a37b9c 100644
--- a/CompilerStack.cpp
+++ b/CompilerStack.cpp
@@ -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();