diff options
author | Marin Ramesa <mpr@hi.t-com.hr> | 2013-12-12 18:27:07 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2013-12-15 20:15:16 +0100 |
commit | f9ed7a52c0384e523c1f02c684d6db575b920859 (patch) | |
tree | 2213e55470ba8f0237c9f02b65a4f55b69b0b6ea /ddb | |
parent | 159b9cdd18a8689493b5f031451ea301afd8a8ea (diff) |
ddb/db_expr.c (db_mult_expr): initialize lhs
Initialize lhs to zero to avoid uninitialized usage in db_unary().
* ddb/db_expr.c (db_mult_expr) (lhs): Initialize to zero.
Diffstat (limited to 'ddb')
-rw-r--r-- | ddb/db_expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ddb/db_expr.c b/ddb/db_expr.c index eee9e4f..82ada58 100644 --- a/ddb/db_expr.c +++ b/ddb/db_expr.c @@ -180,7 +180,7 @@ boolean_t db_mult_expr(valuep) db_expr_t *valuep; { - db_expr_t lhs, rhs; + db_expr_t lhs = 0, rhs; int t; char c; |