-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Some Coverity issues fixed #13347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some Coverity issues fixed #13347
Conversation
@@ -380,7 +380,8 @@ void playback_device::resume() | |||
return; | |||
|
|||
auto total_duration = m_reader->query_duration(); | |||
if (m_last_published_timestamp >= total_duration) | |||
std::lock_guard< std::mutex > locker( m_last_published_timestamp_mutex ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to wrap with {} to minimize the section?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I will wrap it
Also need to verify if the failed test is related or not |
Not related. Ran the CI build again and it have passed. |
be9c881
to
a6ed5ce
Compare
Tracked on [RSDEV-2470]