From 2673d6fae000fc7b22f95d12b4a3276c680513e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 14 Dec 2023 10:58:19 +0100 Subject: [PATCH] shared/pretty-print: inline one more variable declaration --- src/shared/pretty-print.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/shared/pretty-print.c b/src/shared/pretty-print.c index d28c231d58e..946da5f42dd 100644 --- a/src/shared/pretty-print.c +++ b/src/shared/pretty-print.c @@ -294,14 +294,12 @@ void print_separator(void) { * one line filled with spaces with ANSI underline set, followed by a second (empty) line. */ if (underline_enabled()) { - size_t i, c; - - c = columns(); + size_t c = columns(); flockfile(stdout); fputs_unlocked(ANSI_UNDERLINE, stdout); - for (i = 0; i < c; i++) + for (size_t i = 0; i < c; i++) fputc_unlocked(' ', stdout); fputs_unlocked(ANSI_NORMAL "\n\n", stdout); -- 2.47.3