From: Zbigniew Jędrzejewski-Szmek Date: Thu, 14 Dec 2023 09:58:19 +0000 (+0100) Subject: shared/pretty-print: inline one more variable declaration X-Git-Tag: v256-rc1~1015^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2673d6fae000fc7b22f95d12b4a3276c680513e0;p=thirdparty%2Fsystemd.git shared/pretty-print: inline one more variable declaration --- 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);