diff options
author | chriseth <chris@ethereum.org> | 2017-04-12 22:30:27 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-04-12 22:30:27 +0800 |
commit | 8ebea783f4b32c6ff4bb3771a28127676aeb9bad (patch) | |
tree | eaad8270ed2382246c0f211499350353bed07ed9 /libevmasm | |
parent | 4d715e9055f4c7ba7ef86a540dc2e3fbe0fca3a0 (diff) | |
download | dexon-solidity-8ebea783f4b32c6ff4bb3771a28127676aeb9bad.tar.gz dexon-solidity-8ebea783f4b32c6ff4bb3771a28127676aeb9bad.tar.zst dexon-solidity-8ebea783f4b32c6ff4bb3771a28127676aeb9bad.zip |
Initialize local variables.
Diffstat (limited to 'libevmasm')
-rw-r--r-- | libevmasm/AssemblyItem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libevmasm/AssemblyItem.cpp b/libevmasm/AssemblyItem.cpp index 55130f28..e69b5932 100644 --- a/libevmasm/AssemblyItem.cpp +++ b/libevmasm/AssemblyItem.cpp @@ -163,8 +163,8 @@ string AssemblyItem::toAssemblyText() const break; case PushTag: { - size_t sub; - size_t tag; + size_t sub{0}; + size_t tag{0}; tie(sub, tag) = splitForeignPushTag(); if (sub == size_t(-1)) text = string("tag_") + to_string(tag); |