[asterisk-commits] russell: branch 1.4 r82339 - /branches/1.4/main/astobj2.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 13 13:57:08 CDT 2007


Author: russell
Date: Thu Sep 13 13:57:08 2007
New Revision: 82339

URL: http://svn.digium.com/view/asterisk?view=rev&rev=82339
Log:
resolve a warning when not building under dev mode

Modified:
    branches/1.4/main/astobj2.c

Modified: branches/1.4/main/astobj2.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/astobj2.c?view=diff&rev=82339&r1=82338&r2=82339
==============================================================================
--- branches/1.4/main/astobj2.c (original)
+++ branches/1.4/main/astobj2.c Thu Sep 13 13:57:08 2007
@@ -606,6 +606,7 @@
 #endif
 }
 
+#ifdef AO2_DEBUG
 static int print_cb(void *obj, void *arg, int flag)
 {
 	int *fd = arg;
@@ -615,7 +616,6 @@
 	return 0;
 }
 
-#ifdef AO2_DEBUG
 /*
  * Print stats
  */




More information about the asterisk-commits mailing list