[vlc-devel] commit: Remove conditionally unused function ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue Dec 16 17:21:25 CET 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Tue Dec 16 18:21:10 2008 +0200| [43ae5255c80820e461c72deec44ea841690799af] | committer: Rémi Denis-Courmont 

Remove conditionally unused function

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

 modules/stream_filter/decomp.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/stream_filter/decomp.c b/modules/stream_filter/decomp.c
index 09f397d..81a3572 100644
--- a/modules/stream_filter/decomp.c
+++ b/modules/stream_filter/decomp.c
@@ -72,11 +72,12 @@ static void cloexec (int fd)
 extern char **environ;
 
 static const size_t bufsize = 65536;
+#ifdef HAVE_VMSPLICE
 static void cleanup_mmap (void *addr)
 {
     munmap (addr, bufsize);
 }
-
+#endif
 
 static void *Thread (void *data)
 {




More information about the vlc-devel mailing list