Commit 028ca036ba99a46dddc108f92879563afbb56593
1 parent
e7b35d97
fixed set-but-unused warning
Showing
1 changed file
with
1 additions
and
2 deletions
openbr/plugins/stream.cpp
| @@ -1079,8 +1079,7 @@ public: | @@ -1079,8 +1079,7 @@ public: | ||
| 1079 | 1079 | ||
| 1080 | // Wait for the stream to process the last frame available from | 1080 | // Wait for the stream to process the last frame available from |
| 1081 | // the data source. | 1081 | // the data source. |
| 1082 | - bool wait_res = false; | ||
| 1083 | - wait_res = readStage->dataSource.waitLast(); | 1082 | + readStage->dataSource.waitLast(); |
| 1084 | 1083 | ||
| 1085 | // Now that there are no more incoming frames, call finalize | 1084 | // Now that there are no more incoming frames, call finalize |
| 1086 | // on each transform in turn to collect any last templates | 1085 | // on each transform in turn to collect any last templates |