coverity scan fixes/cleanups

This commit is contained in:
Isaac Connor committed 2018-04-12 11:29:35 -04:00
1 parent c766c1ddd1
commit 8518278476
17 files changed
+124 -165

No files matched your search

+1 -1
View File
@@ -101,7 +101,7 @@ unsigned int zm_packetqueue::clearQueue( unsigned int frames_to_keep, int stream
}
if ( it != pktQueue.rend() ) {
// We want to keep this packet, so advance to the next
it ++;
++it;
}
unsigned int delete_count = 0;
while ( it != pktQueue.rend() ) {