Skip to content

Commit

Permalink
Update rosbag2_compression/src/rosbag2_compression/sequential_compres…
Browse files Browse the repository at this point in the history
…sion_writer.cpp

Co-authored-by: Emerson Knapp <[email protected]>
Signed-off-by: P. J. Reed <[email protected]>
  • Loading branch information
pjreed and emersonknapp committed Jan 29, 2021
1 parent 0fd280b commit 4bb0c88
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ void SequentialCompressionWriter::compression_thread_fn()
auto compressor = compression_factory_->create_compressor(
compression_options_.compression_format);

std::mutex mutex;
std::unique_lock<std::mutex> lock(mutex);

if (!compressor) {
throw std::runtime_error{
Expand Down

0 comments on commit 4bb0c88

Please sign in to comment.