remove dead assignment

This commit is contained in:
Michael Jerris 2014-05-01 14:17:06 -04:00
parent b0fd845786
commit 64f1098b8c
1 changed files with 3 additions and 5 deletions

View File

@ -4154,7 +4154,6 @@ static void conference_loop_output(conference_member_t *member)
samples = switch_samples_per_packet(member->conference->rate, interval); samples = switch_samples_per_packet(member->conference->rate, interval);
//csamples = samples; //csamples = samples;
tsamples = member->orig_read_impl.samples_per_packet; tsamples = member->orig_read_impl.samples_per_packet;
flush_len = 0;
low_count = 0; low_count = 0;
bytes = samples * 2; bytes = samples * 2;
call_list = NULL; call_list = NULL;
@ -6251,13 +6250,13 @@ static void conference_xlist(conference_obj_t *conference, switch_xml_t x_confer
switch_xml_set_txt_d(x_tag, switch_test_flag(member, MFLAG_GHOST) ? "true" : "false"); switch_xml_set_txt_d(x_tag, switch_test_flag(member, MFLAG_GHOST) ? "true" : "false");
switch_snprintf(tmp, sizeof(tmp), "%d", member->volume_out_level); switch_snprintf(tmp, sizeof(tmp), "%d", member->volume_out_level);
x_tag = add_x_tag(x_member, "output-volume", tmp, toff++); add_x_tag(x_member, "output-volume", tmp, toff++);
switch_snprintf(tmp, sizeof(tmp), "%d", member->agc_volume_in_level ? member->agc_volume_in_level : member->volume_in_level); switch_snprintf(tmp, sizeof(tmp), "%d", member->agc_volume_in_level ? member->agc_volume_in_level : member->volume_in_level);
x_tag = add_x_tag(x_member, "input-volume", tmp, toff++); add_x_tag(x_member, "input-volume", tmp, toff++);
switch_snprintf(tmp, sizeof(tmp), "%d", member->agc_volume_in_level); switch_snprintf(tmp, sizeof(tmp), "%d", member->agc_volume_in_level);
x_tag = add_x_tag(x_member, "auto-adjusted-input-volume", tmp, toff++); add_x_tag(x_member, "auto-adjusted-input-volume", tmp, toff++);
} }
@ -8714,7 +8713,6 @@ SWITCH_STANDARD_APP(conference_function)
if (locked) { if (locked) {
switch_mutex_unlock(globals.setup_mutex); switch_mutex_unlock(globals.setup_mutex);
locked = 0;
} }
if (member.read_resampler) { if (member.read_resampler) {