From fe5805f7c9521d50edb597ec4bfec196fd9db180 Mon Sep 17 00:00:00 2001 From: "Maciej S. Szmigiero" Date: Sat, 7 Jan 2023 01:15:38 +0100 Subject: config: Inner for loop "continue" should be "break" in load_app_configs () The "continue" statement in the inner for loop in load_app_configs () should obviously be a "break" statement instead, since there's no need to continue that loop once first matching element is found. --- src/gclue-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gclue-config.c b/src/gclue-config.c index 8a2d361..bd52b7c 100644 --- a/src/gclue-config.c +++ b/src/gclue-config.c @@ -144,7 +144,7 @@ load_app_configs (GClueConfig *config) if (strcmp (groups[i], known_groups[j]) == 0) { ignore = TRUE; - continue; + break; } if (ignore) -- cgit v1.2.1