]> wimlib.net Git - wimlib/commitdiff
ntfs-3g_capture.c: Remove a never-executed statement
authorEric Biggers <ebiggers3@gmail.com>
Tue, 5 Aug 2014 02:07:07 +0000 (21:07 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 5 Aug 2014 02:07:11 +0000 (21:07 -0500)
src/ntfs-3g_capture.c

index af9ebbee05cc5df78ed0f231cdbf97cdf280dd91..fa5b46908b4b3f8d31618251bf69ce34e610dd1b 100644 (file)
@@ -789,8 +789,6 @@ out:
                if (do_ntfs_umount(vol)) {
                        ERROR_WITH_ERRNO("Failed to unmount NTFS volume `%s'",
                                         device);
                if (do_ntfs_umount(vol)) {
                        ERROR_WITH_ERRNO("Failed to unmount NTFS volume `%s'",
                                         device);
-                       if (ret == 0)
-                               ret = WIMLIB_ERR_NTFS_3G;
                }
        } else {
                /* We need to leave the NTFS volume mounted so that we can read
                }
        } else {
                /* We need to leave the NTFS volume mounted so that we can read