From 4805064d61dabd13e2e5afa146d6589334cba6b2 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 14 Jul 2022 10:02:58 -0400 Subject: [PATCH] Remove always false condition --- src/zm_fifo_stream.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/zm_fifo_stream.cpp b/src/zm_fifo_stream.cpp index 0acb720d2..cc232110e 100644 --- a/src/zm_fifo_stream.cpp +++ b/src/zm_fifo_stream.cpp @@ -35,8 +35,6 @@ bool FifoStream::sendRAWFrames() { return false; } while ( (bytes_read = read(fd, buffer, RAW_BUFFER)) ) { - if ( bytes_read == 0 ) - continue; if ( bytes_read < 0 ) { Error("Problem during reading: %s", strerror(errno)); close(fd);