aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2016-12-01 19:03:25 +0800
committerYoichi Hirai <i@yoichihirai.com>2016-12-01 19:03:25 +0800
commit1e791f30aa6283ff16a6850fbbc8774ee60447d1 (patch)
tree291dbf165078ec19dce9712ddadedd4c0c4965c1 /libsolidity
parent67f274f66c65058c784e610767144cfe32a7dd2c (diff)
downloaddexon-solidity-1e791f30aa6283ff16a6850fbbc8774ee60447d1.tar.gz
dexon-solidity-1e791f30aa6283ff16a6850fbbc8774ee60447d1.tar.zst
dexon-solidity-1e791f30aa6283ff16a6850fbbc8774ee60447d1.zip
codegen: this commit removes one of duplicate assignments
Diffstat (limited to 'libsolidity')
-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();
}
}