diff options
author | John Wiegley <johnw@newartisans.com> | 2004-07-28 03:44:58 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2004-07-28 03:44:58 -0400 |
commit | 399a0c9ffc451643b353a2997fd1ee68340a3a1f (patch) | |
tree | c188603d6d4e85e25f96b81609fa3cc5fe80a11e | |
parent | d7dd02276c7c9ef4c8affefc6d6ed1e3431535b9 (diff) | |
download | fork-ledger-399a0c9ffc451643b353a2997fd1ee68340a3a1f.tar.gz fork-ledger-399a0c9ffc451643b353a2997fd1ee68340a3a1f.tar.bz2 fork-ledger-399a0c9ffc451643b353a2997fd1ee68340a3a1f.zip |
initialize node_t::mask to NULL
-rw-r--r-- | expr.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -65,7 +65,7 @@ struct node_t mask_t * mask; node_t(const kind_t _type) - : type(_type), left(NULL), right(NULL) {} + : type(_type), left(NULL), right(NULL), mask(NULL) {} ~node_t() { if (mask) delete mask; |