mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 22:33:03 +00:00
address unused variables
Reported by recent versions of clang. * src/counterexample.c (search_state_prepend): Use complexity_cost. * src/print.c: Remove useless variable.
This commit is contained in:
@@ -419,11 +419,9 @@ print_nonterminal_symbols (FILE *out)
|
||||
break;
|
||||
}
|
||||
|
||||
int column = 4 + mbswidth (tag, 0);
|
||||
fprintf (out, "%4s%s", "", tag);
|
||||
if (sym->content->type_name)
|
||||
column += fprintf (out, " <%s>",
|
||||
sym->content->type_name);
|
||||
fprintf (out, " <%s>", sym->content->type_name);
|
||||
fprintf (out, " (%d)\n", i);
|
||||
|
||||
if (on_left)
|
||||
|
||||
Reference in New Issue
Block a user