aboutsummaryrefslogtreecommitdiffstats
path: root/Types.cpp
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-11-19 00:49:31 +0800
committerGav Wood <i@gavwood.com>2014-11-19 00:49:31 +0800
commit3e57086efe95a79373259c2f64f65aec3a0c72c8 (patch)
tree66260afc1a0a26c98b810a2f11f0d07aa337e1a7 /Types.cpp
parentff9331185cfd46387231d1c17ad4eaff9eeae2d5 (diff)
downloaddexon-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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Types.cpp b/Types.cpp
index 63bad5d6..e2443597 100644
--- a/Types.cpp
+++ b/Types.cpp
@@ -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;