]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/cgls/cgls.c
strv: make iterator in STRV_FOREACH() declaread in the loop
[thirdparty/systemd.git] / src / cgls / cgls.c
index 936ea4d3afdd557f77ec93943c5ffa031e94cdba..6af95204e3ddd5f58dcb0dd04bb51c8e51c89fbc 100644 (file)
@@ -201,7 +201,6 @@ static int run(int argc, char *argv[]) {
         if (arg_names) {
                 _cleanup_(sd_bus_flush_close_unrefp) sd_bus *bus = NULL;
                 _cleanup_free_ char *root = NULL;
-                char **name;
 
                 STRV_FOREACH(name, arg_names) {
                         int q;