PVS V593: missing parentheses

Change-Id: I717b13ebf9b5e2436842cfadab757187529567f2
Reviewed-on: https://review.haiku-os.org/c/1613
Reviewed-by: Stephan Aßmus <superstippi@gmx.de>
This commit is contained in:
Adrien Destugues 2019-07-16 21:15:04 +02:00 committed by waddlesplash
parent 22817d221a
commit 6cc8d65e9e

View File

@ -770,8 +770,8 @@ VideoProducer::_FrameGeneratorThread()
} else if (err == B_LAST_BUFFER_ERROR) } else if (err == B_LAST_BUFFER_ERROR)
running = false; running = false;
// Send the buffer on down to the consumer // Send the buffer on down to the consumer
if (wasCached || (err = SendBuffer(buffer, fOutput.source, if (wasCached || ((err = SendBuffer(buffer, fOutput.source,
fOutput.destination) != B_OK)) { fOutput.destination)) != B_OK)) {
// If there is a problem sending the buffer, // If there is a problem sending the buffer,
// or if we don't send the buffer because its // or if we don't send the buffer because its
// contents are the same as the last one, // contents are the same as the last one,