Skip to content

Remove redundant checks in posixmodule.c #8772

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

Closed

Conversation

berkerpeksag
Copy link
Member

No description provided.

@serhiy-storchaka
Copy link
Member

Sorry, I don't understand why they are redundant.

@berkerpeksag
Copy link
Member Author

I was basically following your review comment in #8740 (comment).

@serhiy-storchaka
Copy link
Member

The comment in #8740 was about the code that didn't have any effect:

    if (!return_value) {
        goto exit;
    }
exit:

The code removed in this PR is needed for returning NULL on error.

@berkerpeksag
Copy link
Member Author

Ah, now I understand your original comment. Thanks!

@berkerpeksag berkerpeksag deleted the remove-redundant-checks branch August 15, 2018 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants