aboutsummaryrefslogtreecommitdiff
path: root/src/xz/file_io.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-01-27 16:42:11 +0200
committerLasse Collin <lasse.collin@tukaani.org>2010-01-27 16:42:11 +0200
commit5574d64e03ad3a3d6e00e4b0d3e81c7b5529ec95 (patch)
tree723ed0eaf8dcb72474850076e67f46d8bfae1e32 /src/xz/file_io.c
parentUse PACKAGE_URL instead of custom PACKAGE_HOMEPAGE. (diff)
downloadxz-5574d64e03ad3a3d6e00e4b0d3e81c7b5529ec95.tar.xz
Silence two compiler warnings on DOS-like systems.
Diffstat (limited to 'src/xz/file_io.c')
-rw-r--r--src/xz/file_io.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xz/file_io.c b/src/xz/file_io.c
index 4a960e83..71461e7e 100644
--- a/src/xz/file_io.c
+++ b/src/xz/file_io.c
@@ -327,6 +327,9 @@ io_open_src(file_pair *pair)
return true;
}
}
+#else
+ // Avoid warnings.
+ (void)follow_symlinks;
#endif
// Try to open the file. If we are accepting non-regular files,