Merged revisions 82339 via svnmerge from
authorRussell Bryant <russell@russellbryant.com>
Thu, 13 Sep 2007 19:16:24 +0000 (19:16 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 13 Sep 2007 19:16:24 +0000 (19:16 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r82339 | russell | 2007-09-13 13:57:08 -0500 (Thu, 13 Sep 2007) | 1 line

resolve a warning when not building under dev mode
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82341 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/astobj2.c

index 8a0d2ab..f7fde9a 100644 (file)
@@ -594,6 +594,7 @@ static void container_destruct(void *_c)
 #endif
 }
 
+#ifdef AO2_DEBUG
 static int print_cb(void *obj, void *arg, int flag)
 {
        int *fd = arg;
@@ -603,7 +604,6 @@ static int print_cb(void *obj, void *arg, int flag)
        return 0;
 }
 
-#ifdef AO2_DEBUG
 /*
  * Print stats
  */