diff options
author | Gav Wood <i@gavwood.com> | 2014-11-19 00:49:31 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-11-19 00:49:31 +0800 |
commit | 3e57086efe95a79373259c2f64f65aec3a0c72c8 (patch) | |
tree | 66260afc1a0a26c98b810a2f11f0d07aa337e1a7 /Types.cpp | |
parent | ff9331185cfd46387231d1c17ad4eaff9eeae2d5 (diff) | |
download | dexon-solidity-3e57086efe95a79373259c2f64f65aec3a0c72c8.tar.gz dexon-solidity-3e57086efe95a79373259c2f64f65aec3a0c72c8.tar.zst dexon-solidity-3e57086efe95a79373259c2f64f65aec3a0c72c8.zip |
Fix warnings, release errors.
Diffstat (limited to 'Types.cpp')
-rw-r--r-- | Types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -267,7 +267,7 @@ u256 StructType::getStorageOffsetOfMember(unsigned _index) const { //@todo cache member offset? u256 offset; - vector<ASTPointer<VariableDeclaration>> const& members = m_struct.getMembers(); +// vector<ASTPointer<VariableDeclaration>> const& members = m_struct.getMembers(); for (unsigned index = 0; index < _index; ++index) offset += getMemberByIndex(index).getType()->getStorageSize(); return offset; |