Skip to content
Snippets Groups Projects
Commit 235b8482 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

block: mute a warning

parent 1c2f9072
No related branches found
No related tags found
No related merge requests found
......@@ -405,6 +405,8 @@ block_t *block_File(int fd, bool write)
if (addr != MAP_FAILED)
return block_mmap_Alloc (addr, length);
}
#else
(void) write;
#endif
/* If mmap() is not implemented by the OS _or_ the filesystem... */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment