]> git.sesse.net Git - vlc/commitdiff
Typo: use debug code only when wanted (and defined)
authorRafaël Carré <funman@videolan.org>
Wed, 4 Jun 2008 22:46:39 +0000 (00:46 +0200)
committerRafaël Carré <funman@videolan.org>
Wed, 4 Jun 2008 22:46:39 +0000 (00:46 +0200)
src/misc/threads.c

index 282e118462b2d2bc17eea3c92f4894bc59fde800..882607fda50b3b410a57027d5d20957fdb9d16b9 100644 (file)
@@ -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");