msvc doesn't like = {}, and is a bit pickier on unreachable code.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3247 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2006-10-31 21:46:42 +00:00
parent 506f40b8f1
commit 0bf221111d
1 changed files with 4 additions and 2 deletions

View File

@ -77,7 +77,7 @@ typedef struct private_object private_object_t;
extern su_log_t tport_log[];
static switch_frame_t silence_frame = {};
static switch_frame_t silence_frame = { 0 };
static char silence_data[13] = "";
@ -1051,7 +1051,9 @@ static void tech_absorb_sdp(private_object_t *tech_pvt)
for (m = sdp->sdp_media; m ; m = m->m_next) {
tech_pvt->proxy_sdp_audio_ip = switch_core_session_strdup(tech_pvt->session, (char *)sdp->sdp_connection->c_address);
tech_pvt->proxy_sdp_audio_port = (switch_port_t)m->m_port;
break;
if (tech_pvt->proxy_sdp_audio_ip && tech_pvt->proxy_sdp_audio_port) {
break;
}
}
}
sdp_parser_free(parser);