diff options
| author | Alexander Viro <viro@www.linux.org.uk> | 2004-08-13 22:58:56 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-07 21:02:47 -0700 |
| commit | 0f5cdc423ee1720f4909fc731c24bf1b7ad5a3e9 (patch) | |
| tree | 45035f2010190dbf131f873939504180feaf9b21 | |
| parent | 4322eac12717a41c8c4cb361a3f70038f4d80aa8 (diff) | |
| download | sparse-dev-0f5cdc423ee1720f4909fc731c24bf1b7ad5a3e9.tar.gz | |
[PATCH] casts are not lvalues
Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
| -rw-r--r-- | evaluate.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -305,8 +305,6 @@ static struct symbol *evaluate_arith(struct expression *expr, int float_ok) static inline int lvalue_expression(struct expression *expr) { - while (expr->type == EXPR_CAST) - expr = expr->cast_expression; return (expr->type == EXPR_PREOP && expr->op == '*') || expr->type == EXPR_BITFIELD; } |
