- {
- rules[r].useful = bitset_test (P, r);
- if (!rules[r].useful)
- {
- LOCATION_PRINT (stderr, rules[r].location);
- fprintf (stderr, ": %s: %s: ", _("warning"), _("useless rule"));
- rule_print (&rules[r], stderr);
- }
- }
+ rules[r].useful = bitset_test (P, r);
+ grammar_rules_never_reduced_report (_("useless rule"));