aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2016-12-01 22:11:35 +0800
committerGitHub <noreply@github.com>2016-12-01 22:11:35 +0800
commit2f9a91a034bf25849ed106ec4bd795e594cee584 (patch)
tree5932455e43fdc3c15087a2d80d149b68187cb764
parent9db14ce673846573aea718d57e8e6414b8ea78b0 (diff)
parent1e791f30aa6283ff16a6850fbbc8774ee60447d1 (diff)
downloaddexon-solidity-2f9a91a034bf25849ed106ec4bd795e594cee584.tar.gz
dexon-solidity-2f9a91a034bf25849ed106ec4bd795e594cee584.tar.zst
dexon-solidity-2f9a91a034bf25849ed106ec4bd795e594cee584.zip
Merge pull request #1463 from ethereum/duplicate-assignment
codegen: this commit removes one of duplicate assignments
-rw-r--r--libsolidity/codegen/ContractCompiler.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libsolidity/codegen/ContractCompiler.cpp b/libsolidity/codegen/ContractCompiler.cpp
index 437c484a..93083e25 100644
--- a/libsolidity/codegen/ContractCompiler.cpp
+++ b/libsolidity/codegen/ContractCompiler.cpp
@@ -862,8 +862,6 @@ void ContractCompiler::appendModifierOrFunctionCode()
CompilerUtils::sizeOnStack(modifier.parameters()) +
CompilerUtils::sizeOnStack(modifier.localVariables());
codeBlock = &modifier.body();
-
- codeBlock = &modifier.body();
}
}