[svn-commits] kmoore: trunk r381218 - /trunk/include/asterisk/astobj2.h

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Feb 11 15:10:56 CST 2013


Author: kmoore
Date: Mon Feb 11 15:10:53 2013
New Revision: 381218

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=381218
Log:
Fix compilation error with REF_DEBUG

When the red/black tree work was committed, there was an extra ", " in
the REF_DEBUG definition of ao2_container_alloc_rbtree.

Modified:
    trunk/include/asterisk/astobj2.h

Modified: trunk/include/asterisk/astobj2.h
URL: http://svnview.digium.com/svn/asterisk/trunk/include/asterisk/astobj2.h?view=diff&rev=381218&r1=381217&r2=381218
==============================================================================
--- trunk/include/asterisk/astobj2.h (original)
+++ trunk/include/asterisk/astobj2.h Mon Feb 11 15:10:53 2013
@@ -1224,7 +1224,7 @@
 
 #define ao2_t_container_alloc_rbtree(ao2_options, container_options, sort_fn, cmp_fn, tag) \
 	__ao2_container_alloc_rbtree_debug((ao2_options), (container_options), (sort_fn), (cmp_fn), (tag),  __FILE__, __LINE__, __PRETTY_FUNCTION__, 1)
-#define ao2_container_alloc_rbtree(ao2_options, container_options, , sort_fn, cmp_fn) \
+#define ao2_container_alloc_rbtree(ao2_options, container_options, sort_fn, cmp_fn) \
 	__ao2_container_alloc_rbtree_debug((ao2_options), (container_options), (sort_fn), (cmp_fn), "",  __FILE__, __LINE__, __PRETTY_FUNCTION__, 1)
 
 #elif defined(__AST_DEBUG_MALLOC)




More information about the svn-commits mailing list