X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fntfs-3g_capture.c;h=c26ca605382d86c970d5ce9cb4f226795b84e862;hp=03c3282db1e830f20dcf14b8364c6333cdde5f18;hb=1fc939b7bd0b37900d974b1cd5b11df128df71f5;hpb=f37f269be1b81cdd00018db0486e377240093e75 diff --git a/src/ntfs-3g_capture.c b/src/ntfs-3g_capture.c index 03c3282d..c26ca605 100644 --- a/src/ntfs-3g_capture.c +++ b/src/ntfs-3g_capture.c @@ -183,7 +183,7 @@ capture_ntfs_streams(struct wim_inode *inode, /* Capture each data stream or reparse data stream. */ while (!ntfs_attr_lookup(type, NULL, 0, - CASE_SENSITIVE, 0, NULL, 0, actx)) + WIMLIB_CASE_SENSITIVE, 0, NULL, 0, actx)) { u64 data_size = ntfs_get_attribute_value_length(actx->attr); u64 name_length = actx->attr->name_length; @@ -535,7 +535,7 @@ build_dentry_tree_ntfs_recursive(struct wim_dentry **root_ret, le32 attributes; int ret; struct wim_dentry *root = NULL; - struct wim_inode *inode; + struct wim_inode *inode = NULL; ATTR_TYPES stream_type; if (exclude_path(path, path_len, params->config, false)) {