[asterisk-commits] russell: branch russell/debug_threads r77877 - /team/russell/debug_threads/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Aug 1 14:21:40 CDT 2007


Author: russell
Date: Wed Aug  1 14:21:40 2007
New Revision: 77877

URL: http://svn.digium.com/view/asterisk?view=rev&rev=77877
Log:
Wrap an ifdef around a variable that is only used with DEBUG_THREADS

Modified:
    team/russell/debug_threads/utils.c

Modified: team/russell/debug_threads/utils.c
URL: http://svn.digium.com/view/asterisk/team/russell/debug_threads/utils.c?view=diff&rev=77877&r1=77876&r2=77877
==============================================================================
--- team/russell/debug_threads/utils.c (original)
+++ team/russell/debug_threads/utils.c Wed Aug  1 14:21:40 2007
@@ -738,7 +738,9 @@
 {
 	void *ret;
 	struct thr_arg a = *((struct thr_arg *) data);	/* make a local copy */
+#ifdef DEBUG_THREADS
 	struct thr_lock_info *lock_info;
+#endif
 
 	/* note that even though data->name is a pointer to allocated memory,
 	   we are not freeing it here because ast_register_thread is going to




More information about the asterisk-commits mailing list