From: William King Date: Thu, 13 Jun 2013 04:39:14 +0000 (-0700) Subject: New compiler warning(error). Unused assignment before the pointer is reassigned. X-Git-Tag: v1.4.1~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=421904978941bd2cd603338a2b37a1553e131d47;p=thirdparty%2Ffreeswitch.git New compiler warning(error). Unused assignment before the pointer is reassigned. --- diff --git a/src/mod/applications/mod_fifo/mod_fifo.c b/src/mod/applications/mod_fifo/mod_fifo.c index b2c7330cc2..1ff920eedb 100644 --- a/src/mod/applications/mod_fifo/mod_fifo.c +++ b/src/mod/applications/mod_fifo/mod_fifo.c @@ -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);