git://wimlib.net
/
wimlib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9117181
)
Win32: skip dead code in symlink.c
author
Eric Biggers
<ebiggers3@gmail.com>
Fri, 22 Mar 2013 04:20:27 +0000
(23:20 -0500)
committer
Eric Biggers
<ebiggers3@gmail.com>
Fri, 22 Mar 2013 04:20:27 +0000
(23:20 -0500)
src/symlink.c
patch
|
blob
|
history
diff --git
a/src/symlink.c
b/src/symlink.c
index 49f2053bc1a76d3b16437e5c4133f0be18cf4083..31d4e7c57a25d866c1a8e2fa2e40180fde310f3a 100644
(file)
--- a/
src/symlink.c
+++ b/
src/symlink.c
@@
-29,6
+29,10
@@
#include "sha1.h"
#include <errno.h>
+/* 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) */