]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
New compiler warning(error). Unused assignment before the pointer is reassigned.
authorWilliam King <william.king@quentustech.com>
Thu, 13 Jun 2013 04:39:14 +0000 (21:39 -0700)
committerWilliam King <william.king@quentustech.com>
Thu, 13 Jun 2013 04:39:27 +0000 (21:39 -0700)
src/mod/applications/mod_fifo/mod_fifo.c

index b2c7330cc2ee58ffd81b28fd8975b50dacd0f2e5..1ff920eedb51f456cf8e7aa39cc511ee2121a8b0 100644 (file)
@@ -2982,9 +2982,6 @@ SWITCH_STANDARD_APP(fifo_function)
 
                                switch_channel_answer(channel);
 
-                               originator_cp = switch_channel_get_caller_profile(channel);
-                               originatee_cp = switch_channel_get_caller_profile(other_channel);
-
                                if (switch_channel_inbound_display(other_channel)) {
                                        if (switch_channel_direction(other_channel) == SWITCH_CALL_DIRECTION_INBOUND) {
                                                switch_channel_set_flag(other_channel, CF_BLEG);