From 38fc43c63ef25172766091cb048b7450e1397396 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Thu, 21 Mar 2013 23:20:27 -0500 Subject: [PATCH] Win32: skip dead code in symlink.c --- src/symlink.c | 6 ++++++ 1 file changed, 6 insertions(+) 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) */ -- 2.43.0