[asterisk-commits] rmudgett: branch 12 r409976 - /branches/12/apps/confbridge/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Mar 5 18:32:19 CST 2014


Author: rmudgett
Date: Wed Mar  5 18:32:07 2014
New Revision: 409976

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=409976
Log:
app_confbridge: Remove some noop code.

Modified:
    branches/12/apps/confbridge/conf_state_inactive.c
    branches/12/apps/confbridge/conf_state_multi.c

Modified: branches/12/apps/confbridge/conf_state_inactive.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/apps/confbridge/conf_state_inactive.c?view=diff&rev=409976&r1=409975&r2=409976
==============================================================================
--- branches/12/apps/confbridge/conf_state_inactive.c (original)
+++ branches/12/apps/confbridge/conf_state_inactive.c Wed Mar  5 18:32:07 2014
@@ -38,7 +38,6 @@
 static void join_unmarked(struct confbridge_user *user);
 static void join_marked(struct confbridge_user *user);
 static void leave_waitmarked(struct confbridge_user *user);
-static void transition_to_inactive(struct confbridge_user *user);
 
 struct confbridge_state STATE_INACTIVE = {
 	.name = "INACTIVE",
@@ -46,7 +45,6 @@
 	.join_waitmarked = conf_default_join_waitmarked,
 	.join_marked = join_marked,
 	.leave_waitmarked = leave_waitmarked,
-	.entry = transition_to_inactive,
 };
 struct confbridge_state *CONF_STATE_INACTIVE = &STATE_INACTIVE;
 
@@ -73,8 +71,3 @@
 		conf_change_state(user, CONF_STATE_EMPTY);
 	}
 }
-
-static void transition_to_inactive(struct confbridge_user *user)
-{
-	return;
-}

Modified: branches/12/apps/confbridge/conf_state_multi.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/apps/confbridge/conf_state_multi.c?view=diff&rev=409976&r1=409975&r2=409976
==============================================================================
--- branches/12/apps/confbridge/conf_state_multi.c (original)
+++ branches/12/apps/confbridge/conf_state_multi.c Wed Mar  5 18:32:07 2014
@@ -38,7 +38,6 @@
 static void join_unmarked(struct confbridge_user *user);
 static void join_marked(struct confbridge_user *user);
 static void leave_unmarked(struct confbridge_user *user);
-void transition_to_multi(struct confbridge_user *user);
 
 struct confbridge_state STATE_MULTI = {
 	.name = "MULTI",
@@ -47,7 +46,6 @@
 	.join_marked = join_marked,
 	.leave_unmarked = leave_unmarked,
 	.leave_waitmarked = conf_default_leave_waitmarked,
-	.entry = transition_to_multi,
 };
 struct confbridge_state *CONF_STATE_MULTI = &STATE_MULTI;
 
@@ -72,8 +70,3 @@
 		conf_change_state(user, CONF_STATE_SINGLE);
 	}
 }
-
-void transition_to_multi(struct confbridge_user *user)
-{
-	return;
-}




More information about the asterisk-commits mailing list