summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-07-28 03:44:58 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-07-28 03:44:58 -0400
commit399a0c9ffc451643b353a2997fd1ee68340a3a1f (patch)
treec188603d6d4e85e25f96b81609fa3cc5fe80a11e
parentd7dd02276c7c9ef4c8affefc6d6ed1e3431535b9 (diff)
downloadfork-ledger-399a0c9ffc451643b353a2997fd1ee68340a3a1f.tar.gz
fork-ledger-399a0c9ffc451643b353a2997fd1ee68340a3a1f.tar.bz2
fork-ledger-399a0c9ffc451643b353a2997fd1ee68340a3a1f.zip
initialize node_t::mask to NULL
-rw-r--r--expr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/expr.h b/expr.h
index 5abff910..355f34c9 100644
--- a/expr.h
+++ b/expr.h
@@ -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;