summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJose Narvaez <[email protected]>2014-06-13 12:11:28 +0100
committerJose Narvaez <[email protected]>2014-06-13 12:11:28 +0100
commit6b642637b3c7f3ebe8e290eadfd892030c57c993 (patch)
tree0d236e68b79a2ec4951c9d976829fa15f5d9daea
parent1a8e0ba4e88252b030fd7b60116bc1e984f373c2 (diff)
downloadmruby-6b642637b3c7f3ebe8e290eadfd892030c57c993.tar.gz
mruby-6b642637b3c7f3ebe8e290eadfd892030c57c993.zip
Fixed dead assignment in 'parser.y' reported by 'clang-analyzer'
-rw-r--r--src/parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.y b/src/parse.y
index fc8eaa321..e88437602 100644
--- a/src/parse.y
+++ b/src/parse.y
@@ -4537,7 +4537,7 @@ parser_yylex(parser_state *p)
is_float = seen_point = seen_e = nondigit = 0;
p->lstate = EXPR_END;
- token_column = newtok(p);
+ newtok(p);
if (c == '-' || c == '+') {
tokadd(p, c);
c = nextc(p);