summaryrefslogtreecommitdiffstats
path: root/parse.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2016-02-04 13:28:46 -0500
committerTavian Barnes <tavianator@tavianator.com>2016-02-04 13:28:46 -0500
commit6352b151dc6436ee53fa3e32bd02f0e5b5e1e317 (patch)
tree3e2c3ff7845224625cfa6e8fb846ce41ca572326 /parse.c
parent035dbc05163f897ad74487afbb9d6c778b683b61 (diff)
downloadbfs-6352b151dc6436ee53fa3e32bd02f0e5b5e1e317.tar.xz
Leave some struct expr fields uninitialized.
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/parse.c b/parse.c
index 67643a4..a64f32c 100644
--- a/parse.c
+++ b/parse.c
@@ -18,9 +18,6 @@ static struct expr *new_expr(eval_fn *eval) {
expr->lhs = NULL;
expr->rhs = NULL;
expr->eval = eval;
- expr->cmp = CMP_EXACT;
- expr->idata = 0;
- expr->sdata = NULL;
return expr;
}
@@ -31,8 +28,6 @@ static struct expr expr_true = {
.lhs = NULL,
.rhs = NULL,
.eval = eval_true,
- .idata = 0,
- .sdata = NULL,
};
/**
@@ -42,8 +37,6 @@ static struct expr expr_false = {
.lhs = NULL,
.rhs = NULL,
.eval = eval_false,
- .idata = 0,
- .sdata = NULL,
};
/**