aboutsummaryrefslogtreecommitdiffstats
path: root/GlobalContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'GlobalContext.h')
-rw-r--r--GlobalContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/GlobalContext.h b/GlobalContext.h
index 50a21f70..c6e35f50 100644
--- a/GlobalContext.h
+++ b/GlobalContext.h
@@ -56,7 +56,7 @@ public:
private:
std::vector<std::shared_ptr<MagicVariableDeclaration const>> m_magicVariables;
- ContractDefinition const* m_currentContract;
+ ContractDefinition const* m_currentContract = nullptr;
std::map<ContractDefinition const*, std::shared_ptr<MagicVariableDeclaration const>> mutable m_thisPointer;
};