diagnostic: fix unused variable 'def_tabstop' [PR103129]

gcc/ChangeLog:
	PR other/103129
	* diagnostic-show-locus.c (def_policy): Use def_tabstop.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
This commit is contained in:
David Malcolm 2021-11-10 17:37:11 -05:00
parent 407eaad25f
commit abdff441a0

View File

@ -693,7 +693,7 @@ static const int def_tabstop = 8;
static cpp_char_column_policy def_policy ()
{
return cpp_char_column_policy (8, cpp_wcwidth);
return cpp_char_column_policy (def_tabstop, cpp_wcwidth);
}
/* Create some expanded locations for testing layout_range. The filename