aboutsummaryrefslogtreecommitdiffstats
path: root/src/serdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/serdi.c')
-rw-r--r--src/serdi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/serdi.c b/src/serdi.c
index f3f7ca54..097226e4 100644
--- a/src/serdi.c
+++ b/src/serdi.c
@@ -132,7 +132,8 @@ serd_fopen(const char* const path, const char* const mode)
}
#if USE_POSIX_FADVISE && USE_FILENO
- posix_fadvise(fileno(fd), 0, 0, POSIX_FADV_SEQUENTIAL | POSIX_FADV_NOREUSE);
+ (void)posix_fadvise(
+ fileno(fd), 0, 0, POSIX_FADV_SEQUENTIAL | POSIX_FADV_NOREUSE);
#endif
return fd;