diff --git a/openbr/plugins/stream.cpp b/openbr/plugins/stream.cpp index 440ab1c..75ce93f 100644 --- a/openbr/plugins/stream.cpp +++ b/openbr/plugins/stream.cpp @@ -1079,8 +1079,7 @@ public: // Wait for the stream to process the last frame available from // the data source. - bool wait_res = false; - wait_res = readStage->dataSource.waitLast(); + readStage->dataSource.waitLast(); // Now that there are no more incoming frames, call finalize // on each transform in turn to collect any last templates