Skip to content
Snippets Groups Projects
Commit c738b4ea authored by Rafaël Carré's avatar Rafaël Carré
Browse files

* 6547: AudioZRtpSession: remove impossible error case

_ca is set in constructor and never modified
parent f9866a30
No related branches found
No related tags found
No related merge requests found
...@@ -222,11 +222,6 @@ void AudioZrtpSession::setDestinationIpAddress (void) ...@@ -222,11 +222,6 @@ void AudioZrtpSession::setDestinationIpAddress (void)
{ {
_info ("AudioZrtpSession: Setting IP address for the RTP session"); _info ("AudioZrtpSession: Setting IP address for the RTP session");
if (_ca == NULL) {
_error ("AudioZrtpSession: Sipcall is gone.");
throw AudioRtpSessionException();
}
// Store remote ip in case we would need to forget current destination // Store remote ip in case we would need to forget current destination
_remote_ip = ost::InetHostAddress (_ca->getLocalSDP()->getRemoteIP().c_str()); _remote_ip = ost::InetHostAddress (_ca->getLocalSDP()->getRemoteIP().c_str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment