[vlc-devel] commit: Typo: use debug code only when wanted (and defined) ( Rafaël Carré )

git version control git at videolan.org
Thu Jun 5 00:43:59 CEST 2008


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Jun  5 00:46:39 2008 +0200| [42683681f7a24c8441828d8ee77e3b40d8661dcf]

Typo: use debug code only when wanted (and defined)

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

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

diff --git a/src/misc/threads.c b/src/misc/threads.c
index 282e118..882607f 100644
--- a/src/misc/threads.c
+++ b/src/misc/threads.c
@@ -459,7 +459,7 @@ static THREAD_RTYPE thread_entry (void *data)
     void *(*func) (void *) = ((struct vlc_thread_boot *)data)->entry;
 
     free (data);
-#ifdef NDEBUG
+#ifndef NDEBUG
     vlc_threadvar_set (&thread_object_key, obj);
 #endif
     msg_Dbg (obj, "thread started");




More information about the vlc-devel mailing list