Skip to content

attempt at reducing warnings (U20) - #10921

Merged
maloel merged 1 commit into
realsenseai:developmentfrom
maloel:development
Sep 20, 2022
Merged

maloel merged 1 commit into
realsenseai:developmentfrom
maloel:development

Conversation

@maloel

@maloel maloel commented Sep 20, 2022

Copy link
Copy Markdown
Contributor

U20 now has 14 warnings, same as U16.
See here if needed.

@maloel
maloel requested a review from Nir-Az September 20, 2022 12:05
{
stop();

if( _udev_monitor_fd == -1 )

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.

This is not needed anymore?

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.

The warning was on the throw -- it said it will always terminate()
Not really needed -- I added the other ifs

@Nir-Az Nir-Az left a comment

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.

Looks good

@maloel
maloel merged commit cb248c9 into realsenseai:development Sep 20, 2022
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