diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-07-06 09:51:11 +0200 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-07-25 18:07:34 +0000 |
commit | 3ea89e6155df9b01f4f517e00bdb06d5aa9adbf9 (patch) | |
tree | ab27a3244a4f372123ded80ceadf571472461167 /tools/lemon | |
parent | 47c175376b0abb0ae6ab42e1072c3a6740c7baa4 (diff) |
lemon (tools): Fix Dead Store (Dead assignement/Dead increment) warning found by Clang
Change-Id: Ibfa0bfd589e77a58b7b242c7c2fe25ef052a874e
Reviewed-on: https://code.wireshark.org/review/9516
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'tools/lemon')
-rw-r--r-- | tools/lemon/lemon.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/lemon/lemon.c b/tools/lemon/lemon.c index 70b62939f4..7666530373 100644 --- a/tools/lemon/lemon.c +++ b/tools/lemon/lemon.c @@ -3679,7 +3679,6 @@ PRIVATE void print_stack_union( /* Print out the definition of YYTOKENTYPE and YYMINORTYPE */ name = lemp->name ? lemp->name : "Parse"; - lineno = *plineno; if( mhflag ){ fprintf(out,"#if INTERFACE\n"); lineno++; } fprintf(out,"#define %sTOKENTYPE %s\n",name, lemp->tokentype?lemp->tokentype:"void*"); lineno++; |