]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/dissect/dissect.c
device-util: Declare iterator variables inline
[thirdparty/systemd.git] / src / dissect / dissect.c
index 253e732404b2226e9ef653e2b5309492208e348b..893fa4f03402e87df4311c81ae6d0aed144bada0 100644 (file)
@@ -1699,7 +1699,6 @@ static int action_detach(const char *path) {
 
         } else if (S_ISREG(st.st_mode)) {
                 _cleanup_(sd_device_enumerator_unrefp) sd_device_enumerator *e = NULL;
-                sd_device *d;
 
                 /* If a regular file is specified, search for a loopback block device that is backed by it */