diff --git a/NameAndTypeResolver.cpp b/NameAndTypeResolver.cpp index 5bc406855..aa7726582 100644 --- a/NameAndTypeResolver.cpp +++ b/NameAndTypeResolver.cpp @@ -211,6 +211,7 @@ bool ReferencesResolver::visit(Return& _return) bool ReferencesResolver::visit(Mapping& _mapping) { + (void)_mapping; return true; } diff --git a/Types.cpp b/Types.cpp index 63bad5d61..e24435976 100644 --- a/Types.cpp +++ b/Types.cpp @@ -267,7 +267,7 @@ u256 StructType::getStorageOffsetOfMember(unsigned _index) const { //@todo cache member offset? u256 offset; - vector> const& members = m_struct.getMembers(); +// vector> const& members = m_struct.getMembers(); for (unsigned index = 0; index < _index; ++index) offset += getMemberByIndex(index).getType()->getStorageSize(); return offset;