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

attempt at reducing warnings (U20) #10921

Merged
merged 1 commit into from
Sep 20, 2022

Conversation

maloel
Copy link
Collaborator

@maloel maloel commented Sep 20, 2022

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
@@ -181,22 +181,21 @@ udev_device_watcher::~udev_device_watcher()
{
stop();

if( _udev_monitor_fd == -1 )
Copy link
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
Collaborator 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

Copy link
Collaborator

@Nir-Az Nir-Az left a comment

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 IntelRealSense: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