Skip to content
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

Fix static-analysys issue in frame_holder #12195

Merged

Conversation

Tamir91
Copy link
Contributor

@Tamir91 Tamir91 commented Sep 14, 2023

Handle Coverity issues:
3413352 - Using moving object

@OhadMeir
Copy link
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
@Tamir91
Copy link
Contributor Author

Tamir91 commented Sep 14, 2023

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

src/sync.cpp Outdated
@@ -732,6 +732,9 @@ namespace librealsense
if (!composite)
{
std::vector<frame_holder> match;
std::stringstream error_message_holder;
error_message_holder << f; // Saving frame holder string before moving frame
Copy link
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
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

Copy link
Contributor Author

@Tamir91 Tamir91 Sep 24, 2023

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...

Copy link
Contributor

@OhadMeir OhadMeir left a comment

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 IntelRealSense:development Sep 19, 2023
15 checks passed
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