summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/htslib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htslib.h b/src/htslib.h
index cbd71aa..222cf88 100644
--- a/src/htslib.h
+++ b/src/htslib.h
@@ -620,7 +620,7 @@ HTS_STATIC int compare_mime(httrackp * opt, const char *mime, const char *file,
#endif
// returns (size_t) -1 upon error
-static size_t off_t_to_size_t(off_t o) {
+static HTS_UNUSED size_t off_t_to_size_t(off_t o) {
if (o >= 0 && o < ( (size_t) -1 ) / 2) {
return (size_t) o;
} else {