diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2016-02-04 13:28:46 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2016-02-04 13:28:46 -0500 |
commit | 6352b151dc6436ee53fa3e32bd02f0e5b5e1e317 (patch) | |
tree | 3e2c3ff7845224625cfa6e8fb846ce41ca572326 /parse.c | |
parent | 035dbc05163f897ad74487afbb9d6c778b683b61 (diff) | |
download | bfs-6352b151dc6436ee53fa3e32bd02f0e5b5e1e317.tar.xz |
Leave some struct expr fields uninitialized.
Diffstat (limited to 'parse.c')
-rw-r--r-- | parse.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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, }; /** |