aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-08-17 07:07:07 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-08-22 05:05:35 +0800
commitc94b1f81730c27480cb5813a7a909511613c14c5 (patch)
tree83b02d6cec1dc96babb9c4ff5a0398c2f8c00c15
parent2c2ae74217521aae93b9c7b058ce8687046c648c (diff)
downloaddexon-solidity-c94b1f81730c27480cb5813a7a909511613c14c5.tar.gz
dexon-solidity-c94b1f81730c27480cb5813a7a909511613c14c5.tar.zst
dexon-solidity-c94b1f81730c27480cb5813a7a909511613c14c5.zip
Set variable to nullptr in ASTPrinter
-rw-r--r--libsolidity/ast/ASTPrinter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/ast/ASTPrinter.h b/libsolidity/ast/ASTPrinter.h
index 4a37f17f..193f9296 100644
--- a/libsolidity/ast/ASTPrinter.h
+++ b/libsolidity/ast/ASTPrinter.h
@@ -146,7 +146,7 @@ private:
std::string m_source;
ASTNode const* m_ast;
GasEstimator::ASTGasConsumption m_gasCosts;
- std::ostream* m_ostream;
+ std::ostream* m_ostream = nullptr;
};
}