1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-08-13 23:13:49 -04:00

PVS studio static analyzer fixes (2)

This commit is contained in:
f4exb
2018-06-22 00:15:23 +02:00
parent b00aea8989
commit 5777875618
12 changed files with 20 additions and 37 deletions
-5
View File
@@ -308,11 +308,6 @@ int RTPPacket::BuildPacket(
if (buffer == 0)
{
packet = new uint8_t[packetlength];
if (packet == 0)
{
packetlength = 0;
return ERR_RTP_OUTOFMEM;
}
externalbuffer = false;
}
else