]> git.saurik.com Git - bison.git/commitdiff
(reduce_grammar): Remove unnecessary cast to bool.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Jan 2006 22:24:43 +0000 (22:24 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 3 Jan 2006 22:24:43 +0000 (22:24 +0000)
src/reduce.c

index 72ee3f8a299b80a2d3db4eef3aac99814fd4578a..754b56d09e65005ec26020908f87b4c6e0698018 100644 (file)
@@ -426,7 +426,7 @@ reduce_grammar (void)
   useless_nonterminals ();
   inaccessable_symbols ();
 
-  reduced = (bool) (nuseless_nonterminals + nuseless_productions > 0);
+  reduced = (nuseless_nonterminals + nuseless_productions > 0);
   if (!reduced)
     return;