[committed] diagnostic: fix unused variable 'def_tabstop' [PR103129]
Commit Message
Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu.
Pushed to trunk as r12-5176-gabdff441a07f55d16e3d0e5ced3123c83d210a0a.
gcc/ChangeLog:
PR other/103129
* diagnostic-show-locus.c (def_policy): Use def_tabstop.
Signed-off-by: David Malcolm <dmalcolm@redhat.com>
---
gcc/diagnostic-show-locus.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -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