From 399a0c9ffc451643b353a2997fd1ee68340a3a1f Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 28 Jul 2004 03:44:58 -0400 Subject: initialize node_t::mask to NULL --- expr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3