diff options
author | chriseth <chris@ethereum.org> | 2017-08-22 21:39:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-22 21:39:50 +0800 |
commit | 210b4870a805620329793c8ba2177a3ff6e7b477 (patch) | |
tree | 65b5afa20b8a2ba5466bb681b5216cc655fd74d6 /libevmasm/CommonSubexpressionEliminator.h | |
parent | badb269502643c779ead6e53978175a2e8f43594 (diff) | |
parent | f2d6226718a226ae4764bd7d1379c6e50c7f269a (diff) | |
download | dexon-solidity-210b4870a805620329793c8ba2177a3ff6e7b477.tar dexon-solidity-210b4870a805620329793c8ba2177a3ff6e7b477.tar.gz dexon-solidity-210b4870a805620329793c8ba2177a3ff6e7b477.tar.bz2 dexon-solidity-210b4870a805620329793c8ba2177a3ff6e7b477.tar.lz dexon-solidity-210b4870a805620329793c8ba2177a3ff6e7b477.tar.xz dexon-solidity-210b4870a805620329793c8ba2177a3ff6e7b477.tar.zst dexon-solidity-210b4870a805620329793c8ba2177a3ff6e7b477.zip |
Merge pull request #2775 from ethereum/coverity
Fix some issues found by Coverity
Diffstat (limited to 'libevmasm/CommonSubexpressionEliminator.h')
-rw-r--r-- | libevmasm/CommonSubexpressionEliminator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libevmasm/CommonSubexpressionEliminator.h b/libevmasm/CommonSubexpressionEliminator.h index f2473200..0b957a0e 100644 --- a/libevmasm/CommonSubexpressionEliminator.h +++ b/libevmasm/CommonSubexpressionEliminator.h @@ -147,7 +147,7 @@ private: AssemblyItems m_generatedItems; /// Current height of the stack relative to the start. - int m_stackHeight; + int m_stackHeight = 0; /// If (b, a) is in m_requests then b is needed to compute a. std::multimap<Id, Id> m_neededBy; /// Current content of the stack. |