Skip to content

Commit

Permalink
fix clang 4.0 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
willamowius committed Jan 14, 2018
1 parent a8e0e8d commit e2197cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion ProxyChannel.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -5315,7 +5315,6 @@ void CallSignalSocket::OnSetup(SignalingMsg * msg)
// store (rewritten) CalledPartyNumberIE, eg. for PrintCallInfo
if (q931.HasIE(Q931::CalledPartyNumberIE)) {
unsigned planIgnored = Q931::ISDNPlan, typeIgnored = Q931::InternationalType;
unsigned presentationIgnored = (unsigned)-1, screeningIgnored = (unsigned)-1;
PString calledPartyNumberIE;
q931.GetCalledPartyNumber(calledPartyNumberIE, &planIgnored, &typeIgnored);
m_call->SetCalledPartyNumberIE(calledPartyNumberIE);
Expand Down
2 changes: 1 addition & 1 deletion h323util.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ H225_TransportAddress SocketToH225TransportAddr(const PIPSocket::Address & Addr,
H225_TransportAddress H245ToH225TransportAddress(const H245_TransportAddress & h245addr)
{
PIPSocket::Address ip;
WORD port;
WORD port = 0;
(void)GetIPAndPortFromTransportAddr(h245addr, ip, port);
return SocketToH225TransportAddr(ip, port);
}
Expand Down

0 comments on commit e2197cb

Please sign in to comment.