diff options
| author | Yukihiro Matz Matsumoto <[email protected]> | 2013-03-18 22:59:13 +0900 |
|---|---|---|
| committer | Yukihiro Matz Matsumoto <[email protected]> | 2013-03-18 22:59:13 +0900 |
| commit | 5217d889633fc556458b2327c30ba483e02ce6d7 (patch) | |
| tree | 84380ef8bf211ae38a17e5aaf6a8116bc19ba3bc /src/parse.y | |
| parent | 138a3569a29521dc52951787cf09c5d9aac36741 (diff) | |
| download | mruby-5217d889633fc556458b2327c30ba483e02ce6d7.tar.gz mruby-5217d889633fc556458b2327c30ba483e02ce6d7.zip | |
remove unused local variable beg in parser_yylex
Diffstat (limited to 'src/parse.y')
| -rw-r--r-- | src/parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parse.y b/src/parse.y index bfbdd9eb1..33688e45a 100644 --- a/src/parse.y +++ b/src/parse.y @@ -4573,7 +4573,7 @@ parser_yylex(parser_state *p) case '%': if (IS_BEG()) { - int beg = 0, term; + int term; int paren; c = nextc(p); @@ -4583,7 +4583,7 @@ parser_yylex(parser_state *p) c = 'Q'; } else { - beg = term = nextc(p); + term = nextc(p); if (isalnum(term)) { yyerror(p, "unknown type of %string"); return 0; |
