Skip to content
Snippets Groups Projects
Commit f2a3e52b authored by Joaquim Casals Buñuel's avatar Joaquim Casals Buñuel
Browse files

Fix compilation warnings in ubuntu 18.04

parent 80119d34
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,8 @@ void ProcessorTracker::processCapture(CaptureBasePtr _incoming_ptr) ...@@ -102,7 +102,8 @@ void ProcessorTracker::processCapture(CaptureBasePtr _incoming_ptr)
// No-break case only for debug. Next case will be executed too. // No-break case only for debug. Next case will be executed too.
PackKeyFramePtr pack = buffer_pack_kf_.selectPack( incoming_ptr_, params_tracker_->time_tolerance); PackKeyFramePtr pack = buffer_pack_kf_.selectPack( incoming_ptr_, params_tracker_->time_tolerance);
WOLF_DEBUG( "PT ", getName(), " SECOND_TIME_WITH_PACK: KF" , pack->key_frame->id() , " callback unpacked with ts= " , pack->key_frame->getTimeStamp() ); WOLF_DEBUG( "PT ", getName(), " SECOND_TIME_WITH_PACK: KF" , pack->key_frame->id() , " callback unpacked with ts= " , pack->key_frame->getTimeStamp() );
} // @suppress("No break at end of case") }
// Fall through
case SECOND_TIME_WITHOUT_PACK : case SECOND_TIME_WITHOUT_PACK :
{ {
WOLF_DEBUG( "PT ", getName(), " SECOND_TIME_WITHOUT_PACK" ); WOLF_DEBUG( "PT ", getName(), " SECOND_TIME_WITHOUT_PACK" );
......
...@@ -137,7 +137,9 @@ TEST_F(BufferPackKeyFrameTest, selectPack) ...@@ -137,7 +137,9 @@ TEST_F(BufferPackKeyFrameTest, selectPack)
{ {
PackKeyFramePtr packQ = pack_kf_buffer.selectPack(16, q[iq]); PackKeyFramePtr packQ = pack_kf_buffer.selectPack(16, q[iq]);
if (packQ!=nullptr) if (packQ!=nullptr)
{
ASSERT_EQ(packQ->key_frame->getTimeStamp(),res(ip1*6+ip2*3+iq)); ASSERT_EQ(packQ->key_frame->getTimeStamp(),res(ip1*6+ip2*3+iq));
}
} }
pack_kf_buffer.clear(); pack_kf_buffer.clear();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment