summaryrefslogtreecommitdiff
path: root/compat/mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/mmap.c')
-rw-r--r--compat/mmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/mmap.c b/compat/mmap.c
index 2fe1c7732e..1a118711f7 100644
--- a/compat/mmap.c
+++ b/compat/mmap.c
@@ -38,7 +38,7 @@ void *git_mmap(void *start, size_t length, int prot, int flags, int fd, off_t of
return start;
}
-int git_munmap(void *start, size_t length)
+int git_munmap(void *start, size_t length UNUSED)
{
free(start);
return 0;