1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -04:00

PVS studio static analyzer fixes (1)

This commit is contained in:
f4exb
2018-06-21 19:28:11 +02:00
parent 777a1b0123
commit b00aea8989
32 changed files with 35 additions and 91 deletions
-4
View File
@@ -111,8 +111,6 @@ int RTCPPacketBuilder::BuildNextPacket(RTCPCompoundPacket **pack)
*pack = 0;
rtcpcomppack = new RTCPCompoundPacketBuilder();
if (rtcpcomppack == 0)
return ERR_RTP_OUTOFMEM;
if ((status = rtcpcomppack->InitBuild(maxpacketsize)) < 0)
{
@@ -640,8 +638,6 @@ int RTCPPacketBuilder::BuildBYEPacket(RTCPCompoundPacket **pack, const void *rea
*pack = 0;
rtcpcomppack = new RTCPCompoundPacketBuilder();
if (rtcpcomppack == 0)
return ERR_RTP_OUTOFMEM;
if ((status = rtcpcomppack->InitBuild(maxpacketsize)) < 0)
{