From: Eric Biggers Date: Fri, 22 Mar 2013 04:20:27 +0000 (-0500) Subject: Win32: skip dead code in symlink.c X-Git-Tag: v1.3.1~6 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=38fc43c63ef25172766091cb048b7450e1397396 Win32: skip dead code in symlink.c --- diff --git a/src/symlink.c b/src/symlink.c index 49f2053b..31d4e7c5 100644 --- a/src/symlink.c +++ b/src/symlink.c @@ -29,6 +29,10 @@ #include "sha1.h" #include +/* None of this file is ever needed in Win32 builds because the reparse point + * buffers are not parsed. */ +#if !defined(__WIN32__) && !defined(WITH_FUSE) + /* * Find the symlink target of a symbolic link or junction point in the WIM. * @@ -266,3 +270,5 @@ out_free_symlink_buf: FREE(symlink_buf); return ret; } + +#endif /* !defined(__WIN32__) && !defined(WITH_FUSE) */