]> wimlib.net Git - wimlib/blobdiff - src/extract_image.c
capture_ntfs_streams(): Set 'ret' properly
[wimlib] / src / extract_image.c
index 9534f4d7cc906171cde17bce89c2ecc4900a8610..fffdcfd1f239fba3f8b00e672d2cc0f3428e7fde 100644 (file)
@@ -492,7 +492,6 @@ apply_dentry_normal(struct wim_dentry *dentry, void *arg)
        struct apply_args *args = arg;
        tchar *output_path;
        size_t len;
-       int ret;
 
        len = tstrlen(args->target);
        if (dentry_is_root(dentry)) {
@@ -899,7 +898,7 @@ out:
        return ret;
 }
 
-static const tchar *filename_forbidden_chars =
+static const tchar * const filename_forbidden_chars =
 T(
 #ifdef __WIN32__
 "<>:\"/\\|?*"