diff options
author | Maciej S. Szmigiero <maciej.szmigiero@oracle.com> | 2023-01-07 01:15:38 +0100 |
---|---|---|
committer | Maciej S. Szmigiero <maciej.szmigiero@oracle.com> | 2023-01-07 01:15:38 +0100 |
commit | fe5805f7c9521d50edb597ec4bfec196fd9db180 (patch) | |
tree | d3b097450d5e48b3daff624d1e0fea061ebe7aa8 | |
parent | 2daf3fe97454bc33cb52834aef4321b431475859 (diff) | |
download | geoclue-fe5805f7c9521d50edb597ec4bfec196fd9db180.tar.gz |
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.
-rw-r--r-- | src/gclue-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |