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(-)
diff --git a/evaluate.c b/evaluate.c
index 2510c2b..5eba817 100644
--- a/evaluate.c
+++ b/evaluate.c
@@ -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);
--
1.5.0-rc2.GIT
-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html