aboutsummaryrefslogtreecommitdiff
path: root/src/xz/file_io.c
diff options
context:
space:
mode:
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,