remove long-dead variable in evaluate_ptr_add()
PATCH 5/16 remove long-dead variable in evaluate_ptr_add()
ptr_type in there is dead since commit 87900e832ac31d3aae63051ee054b01c17170439 (Nov 2004).
Signed-off-by Al Viro <[email protected]>
--- evaluate.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-)
evaluate.c +1 -4
@@ -601,12 +601,9 @@ static inline int want_int(struct expression **expr, struct symbol **ctype)static struct symbol *evaluate_ptr_add (struct expression *expr,struct symbol *ctype,struct expression **ip) {struct expression *i = *ip; -struct symbol *ptr_type = ctype, *itype; +struct symbol *itype;int bit_size; -if (ptr_type->type ==SYM_NODE ) - ptr_type = ptr_type->ctype.base_type; -if (!want_int (&i, &itype))return bad_expr_type (expr);
Signature · 1 line
1.5.0-rc2.GIT