Skip to content

Some Coverity issues fixed - #13347

Merged
OhadMeir merged 2 commits into
realsenseai:developmentfrom
OhadMeir:development
Sep 15, 2024
Merged

Some Coverity issues fixed#13347
OhadMeir merged 2 commits into
realsenseai:developmentfrom
OhadMeir:development

Conversation

@OhadMeir

Copy link
Copy Markdown
Contributor

Tracked on [RSDEV-2470]

@OhadMeir
OhadMeir requested a review from Nir-Az September 15, 2024 10:05
Comment thread src/hid-sensor.cpp
Comment thread src/media/playback/playback_device.cpp Outdated

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 );

Copy link
Copy Markdown
Collaborator

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?

Copy link
Copy Markdown
Contributor Author

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

Comment thread src/proc/hole-filling-filter.cpp
Comment thread src/proc/temporal-filter.cpp
@Nir-Az

Nir-Az commented Sep 15, 2024

Copy link
Copy Markdown
Collaborator

Also need to verify if the failed test is related or not

@OhadMeir

Copy link
Copy Markdown
Contributor Author

Also need to verify if the failed test is related or not

Not related. Ran the CI build again and it have passed.

Comment thread src/media/playback/playback_device.cpp
@OhadMeir
OhadMeir merged commit 618d88f into realsenseai:development Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants