aboutsummaryrefslogtreecommitdiffstats
path: root/src/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/system.c')
-rw-r--r--src/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system.c b/src/system.c
index 2058cfe2..072d2ed5 100644
--- a/src/system.c
+++ b/src/system.c
@@ -30,7 +30,7 @@ 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);
+ (void)posix_fadvise(fileno(fd), 0, 0, POSIX_FADV_SEQUENTIAL);
#endif
return fd;
}