]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/mount-util.c
strv: make iterator in STRV_FOREACH() declaread in the loop
[thirdparty/systemd.git] / src / shared / mount-util.c
index ae1f2f0b809a1d8c63d688d1ac978c8eb8c97385..694c0383f56579c7a93c8c48479002217b8e7072 100644 (file)
@@ -274,7 +274,6 @@ int bind_remount_recursive_with_mountinfo(
                          * we shall operate on. */
                         if (!path_equal(path, prefix)) {
                                 bool deny_listed = false;
-                                char **i;
 
                                 STRV_FOREACH(i, deny_list) {
                                         if (path_equal(*i, prefix))