]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/cgroup-setup.c
strv: make iterator in STRV_FOREACH() declaread in the loop
[thirdparty/systemd.git] / src / shared / cgroup-setup.c
index 38a6755d178ce54a83624b4d5ce7ea5d8d29b346..a1fabc73c111e2bf6c88485b1d7b37fb225376c3 100644 (file)
@@ -22,7 +22,6 @@
 static int cg_any_controller_used_for_v1(void) {
         _cleanup_free_ char *buf = NULL;
         _cleanup_strv_free_ char **lines = NULL;
-        char **line;
         int r;
 
         r = read_full_virtual_file("/proc/cgroups", &buf, NULL);