diff options
author | dhewg | 2011-03-29 21:55:21 +0200 |
---|---|---|
committer | dhewg | 2011-03-29 21:57:56 +0200 |
commit | d83a83ef5021c1e329127d3c6402088aeb1c1dd1 (patch) | |
tree | 5ade1c22a76ed8a10fac3d4c488a9866d649508e /engines/sci/parser/grammar.cpp | |
parent | 8c70f2a58492335e9045c5abfd291887b2d7a339 (diff) | |
download | scummvm-rg350-d83a83ef5021c1e329127d3c6402088aeb1c1dd1.tar.gz scummvm-rg350-d83a83ef5021c1e329127d3c6402088aeb1c1dd1.tar.bz2 scummvm-rg350-d83a83ef5021c1e329127d3c6402088aeb1c1dd1.zip |
JANITORIAL: Remove/comment unused vars
Found by GCC 4.6's -Wunused-but-set-variable
Diffstat (limited to 'engines/sci/parser/grammar.cpp')
-rw-r--r-- | engines/sci/parser/grammar.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/sci/parser/grammar.cpp b/engines/sci/parser/grammar.cpp index 8a6cd2dd4d..77db56adba 100644 --- a/engines/sci/parser/grammar.cpp +++ b/engines/sci/parser/grammar.cpp @@ -380,7 +380,7 @@ static ParseRuleList *_vocab_clone_rule_list_by_id(ParseRuleList *list, int id) ParseRuleList *Vocabulary::buildGNF(bool verbose) { int iterations = 0; - int last_termrules, termrules = 0; + int termrules = 0; int ntrules_nr; ParseRuleList *ntlist = NULL; ParseRuleList *tlist, *new_tlist; @@ -405,7 +405,6 @@ ParseRuleList *Vocabulary::buildGNF(bool verbose) { do { ParseRuleList *new_new_tlist = NULL; ParseRuleList *ntseeker, *tseeker; - last_termrules = termrules; ntseeker = ntlist; while (ntseeker) { |