]> wimlib.net Git - wimlib/commitdiff
wim_pathname_to_stream(): Remove unnecessary goto and label
authorEric Biggers <ebiggers3@gmail.com>
Tue, 13 May 2014 00:16:16 +0000 (19:16 -0500)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 13 May 2014 00:16:16 +0000 (19:16 -0500)
src/dentry.c

index 402c780f43f74295678dccd92f945e1283666e28..15dfcdfc9a67db3ad821f861a1470d6dcc60b28f 100644 (file)
@@ -890,14 +890,12 @@ wim_pathname_to_stream(WIMStruct *wim,
                if (ads_entry) {
                        stream_idx = ads_idx + 1;
                        lte = ads_entry->lte;
-                       goto out;
                } else {
                        return -ENOENT;
                }
        } else {
                lte = inode_unnamed_stream_resolved(inode, &stream_idx);
        }
-out:
        if (dentry_ret)
                *dentry_ret = dentry;
        if (lte_ret)