libctf: mark various args as unused in the !HAVE_MMAP case
[deliverable/binutils-gdb.git] / libctf / ctf-archive.c
index 24144937a707a3b07c7128d80352c4db2b91cc0c..5c1692219e892f2f32cd54ce5878f8e26bedf884 100644 (file)
@@ -681,7 +681,7 @@ static int arc_mmap_unmap (void *header, size_t headersz, const char **errmsg)
 }
 #else
 /* Map the header in.  Only used on new, empty files.  */
-static void *arc_mmap_header (int fd, size_t headersz)
+static void *arc_mmap_header (int fd _libctf_unused_, size_t headersz)
 {
   void *hdr;
   if ((hdr = malloc (headersz)) == NULL)
This page took 0.024499 seconds and 4 git commands to generate.