From: Eric Biggers Date: Sat, 14 Jun 2014 04:45:56 +0000 (-0500) Subject: extract.c: Don't compile unneeded code when WITH_NTFS_3G undefined X-Git-Tag: v1.7.0~12 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=46f7620b9f31cb51e2df41b36d93015911fc290b extract.c: Don't compile unneeded code when WITH_NTFS_3G undefined --- diff --git a/src/extract.c b/src/extract.c index c312429c..65e60dea 100644 --- a/src/extract.c +++ b/src/extract.c @@ -612,12 +612,14 @@ dentry_calculate_extraction_name(struct wim_dentry *dentry, if (dentry_is_root(dentry)) return 0; +#ifdef WITH_NTFS_3G if (ctx->extract_flags & WIMLIB_EXTRACT_FLAG_NTFS) { dentry->d_extraction_name = dentry->file_name; dentry->d_extraction_name_nchars = dentry->file_name_nbytes / sizeof(utf16lechar); return 0; } +#endif if (!ctx->supported_features.case_sensitive_filenames) { struct wim_dentry *other;