[vlc-devel] commit: w32thread: Don't warn twice about destr being unused. That' s enough spam. (Pierre d'Herbemont )

git version control git at videolan.org
Fri Aug 21 16:33:29 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Fri Aug 21 16:33:06 2009 +0200| [1fb8c01a0d289b3b663abbcdffc83ed7b350bb8c] | committer: Pierre d'Herbemont 

w32thread: Don't warn twice about destr being unused. That's enough spam.

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

 src/misc/w32thread.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/misc/w32thread.c b/src/misc/w32thread.c
index 44b3ad2..3669a94 100644
--- a/src/misc/w32thread.c
+++ b/src/misc/w32thread.c
@@ -373,6 +373,7 @@ void vlc_rwlock_unlock (vlc_rwlock_t *lock)
 int vlc_threadvar_create (vlc_threadvar_t *p_tls, void (*destr) (void *))
 {
 #warning FIXME: use destr() callback and stop leaking!
+    VLC_UNUSED( destr );
 
     *p_tls = TlsAlloc();
     return (*p_tls == TLS_OUT_OF_INDEXES) ? EAGAIN : 0;




More information about the vlc-devel mailing list