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

local: add omitted return value read from close() in local_close() #581

Merged
merged 1 commit into from
Aug 10, 2020

Conversation

commodo
Copy link
Contributor

@commodo commodo commented Aug 5, 2020

Patch 4b0a7a2 ("local: handle error codes in local_close()") omitted
one return value read for close().
Coverity caught that. This patch reads the return value for
'close(pdata->cancel_fd);'

Signed-off-by: Alexandru Ardelean [email protected]

Patch 4b0a7a2 ("local: handle error codes in local_close()") omitted
one return value read for close().
Coverity caught that. This patch reads the return value for
'close(pdata->cancel_fd);'

Signed-off-by: Alexandru Ardelean <[email protected]>
@commodo commodo requested a review from rgetz August 5, 2020 05:48
@rgetz rgetz merged commit b23a03b into master Aug 10, 2020
@rgetz rgetz deleted the libiio-fix-ret branch August 10, 2020 13:13
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