From be21b60b8993aa75b35c40c15b23cd32972a2c1b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 7 May 2021 13:24:03 +0200 Subject: [PATCH] modules-load: inline interator variable --- src/modules-load/modules-load.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/modules-load/modules-load.c b/src/modules-load/modules-load.c index b57d806fab2..b2a41a7e755 100644 --- a/src/modules-load/modules-load.c +++ b/src/modules-load/modules-load.c @@ -186,9 +186,7 @@ static int run(int argc, char *argv[]) { r = 0; if (argc > optind) { - int i; - - for (i = optind; i < argc; i++) { + for (int i = optind; i < argc; i++) { k = apply_file(ctx, argv[i], false); if (k < 0 && r == 0) r = k; -- 2.47.3