Skip to content

Fix static-analysys issue in frame_holder - #12195

Merged
Nir-Az merged 4 commits into
realsenseai:developmentfrom
Tamir91:coverity-development-validation
Sep 19, 2023
Merged

Fix static-analysys issue in frame_holder#12195
Nir-Az merged 4 commits into
realsenseai:developmentfrom
Tamir91:coverity-development-validation

Conversation

@Tamir91

@Tamir91 Tamir91 commented Sep 14, 2023

Copy link
Copy Markdown
Contributor

Handle Coverity issues:
3413352 - Using moving object

@OhadMeir

Copy link
Copy Markdown
Contributor

When fixing Coverity issues, please mention the issue IDs that are being addressed.

@Nir-Az Nir-Az changed the title frame_holder_string added Fix static-analysys issue in frame_holder Sep 14, 2023
@Nir-Az
Nir-Az requested a review from OhadMeir September 14, 2023 11:53
@Tamir91

Tamir91 commented Sep 14, 2023

Copy link
Copy Markdown
Contributor Author

The PR was not ready for review - I waiting for results from Coverity...

Comment thread src/sync.cpp Outdated
{
std::vector<frame_holder> match;
std::stringstream error_message_holder;
error_message_holder << f; // Saving frame holder string before moving frame

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename to frame_string_for_logging

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.

I assume it is done?
@Tamir91 when you update according to a comment please add a "Done" comment

@Tamir91 Tamir91 Sep 24, 2023

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.

I assume it is done? @Tamir91 when you update according to a comment please add a "Done" comment

Yes, I talked with Ohad offline about changes...

@OhadMeir OhadMeir left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great

@Nir-Az
Nir-Az merged commit 49fbd60 into realsenseai:development Sep 19, 2023
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.

3 participants