Skip to content

Commit

Permalink
comment out unused variable (ros2#460)
Browse files Browse the repository at this point in the history
Signed-off-by: Karsten Knese <[email protected]>
  • Loading branch information
Karsten1987 authored Jul 14, 2020
1 parent 9856f5b commit 69c0e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rosbag2_cpp/src/rosbag2_cpp/writers/sequential_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ void SequentialWriter::write(std::shared_ptr<rosbag2_storage::SerializedBagMessa
// Update the message count for the Topic.
try {
++topics_names_to_info_.at(message->topic_name).message_count;
} catch (const std::out_of_range & oor) {
} catch (const std::out_of_range & /* oor */) {
std::stringstream errmsg;
errmsg << "Failed to write on topic '" << message->topic_name <<
"'. Call create_topic() before first write.";
Expand Down

0 comments on commit 69c0e34

Please sign in to comment.