diff --git a/clients/roscpp/src/libros/init.cpp b/clients/roscpp/src/libros/init.cpp index 7a38aaab1a..fa3a0430d8 100644 --- a/clients/roscpp/src/libros/init.cpp +++ b/clients/roscpp/src/libros/init.cpp @@ -604,8 +604,6 @@ void shutdown() XMLRPCManager::instance()->shutdown(); } - WallTime end = WallTime::now(); - g_started = false; g_ok = false; Time::shutdown(); diff --git a/test/test_rosbag/test/test_bag.cpp.in b/test/test_rosbag/test/test_bag.cpp.in index db4e107555..670e45b9c1 100644 --- a/test/test_rosbag/test/test_bag.cpp.in +++ b/test/test_rosbag/test/test_bag.cpp.in @@ -376,6 +376,7 @@ TEST(rosbag, bad_topic_query_works) { rosbag::View view(bag, rosbag::TopicQuery(t)); foreach(rosbag::MessageInstance const m, view) { + (void)m; FAIL(); }