[svn-commits] russell: trunk r109907 - /trunk/main/pbx.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Wed Mar 19 10:22:14 CDT 2008
Author: russell
Date: Wed Mar 19 10:22:13 2008
New Revision: 109907
URL: http://svn.digium.com/view/asterisk?view=rev&rev=109907
Log:
Remove an unneeded variable. This compiled, but I missed the uninitialized warning
because I always compile without optimizations turned on. Sorry!
Modified:
trunk/main/pbx.c
Modified: trunk/main/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/main/pbx.c?view=diff&rev=109907&r1=109906&r2=109907
==============================================================================
--- trunk/main/pbx.c (original)
+++ trunk/main/pbx.c Wed Mar 19 10:22:13 2008
@@ -3206,7 +3206,7 @@
{
/* Cleanup the Notifys if hint is removed */
struct ast_hint *hint;
- struct ast_state_cb *cblist, *cbprev;
+ struct ast_state_cb *cblist;
int res = -1;
if (!e)
@@ -3219,7 +3219,7 @@
while ((cblist = AST_LIST_REMOVE_HEAD(&hint->callbacks, entry))) {
/* Notify with -1 and remove all callbacks */
cblist->callback(hint->exten->parent->name, hint->exten->exten,
- AST_EXTENSION_DEACTIVATED, cbprev->data);
+ AST_EXTENSION_DEACTIVATED, cblist->data);
ast_free(cblist);
}
More information about the svn-commits
mailing list