summaryrefslogtreecommitdiffstats
path: root/src/posix/filesystem_posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/posix/filesystem_posix.c')
-rw-r--r--src/posix/filesystem_posix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/posix/filesystem_posix.c b/src/posix/filesystem_posix.c
index a85fbd7..8d65611 100644
--- a/src/posix/filesystem_posix.c
+++ b/src/posix/filesystem_posix.c
@@ -209,8 +209,8 @@ zix_copy_file(ZixAllocator* const allocator,
// Set sequential hints so the kernel can optimize the page cache
#if USE_POSIX_FADVISE
- posix_fadvise(src_fd, 0, src_stat.st_size, POSIX_FADV_SEQUENTIAL);
- posix_fadvise(dst_fd, 0, src_stat.st_size, POSIX_FADV_SEQUENTIAL);
+ (void)posix_fadvise(src_fd, 0, src_stat.st_size, POSIX_FADV_SEQUENTIAL);
+ (void)posix_fadvise(dst_fd, 0, src_stat.st_size, POSIX_FADV_SEQUENTIAL);
#endif
errno = 0;