vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Sun Apr 14 
09:29:03 2019 +0300| [235b84825ad5e86472bb1ebc828a8f3615d85282] | committer: 
Rémi Denis-Courmont

block: mute a warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=235b84825ad5e86472bb1ebc828a8f3615d85282
---

 src/misc/block.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/misc/block.c b/src/misc/block.c
index 7d67138768..74da567145 100644
--- a/src/misc/block.c
+++ b/src/misc/block.c
@@ -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... */

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to