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

Remove unnecessary null pointer checks #128

Open
elfring opened this issue Aug 15, 2018 · 1 comment
Open

Remove unnecessary null pointer checks #128

elfring opened this issue Aug 15, 2018 · 1 comment

Comments

@elfring
Copy link

elfring commented Aug 15, 2018

Extra null pointer checks are not needed in functions like the following.

@rserban
Copy link
Member

rserban commented Aug 18, 2018

Agreed: these can and should be removed. We do this type of cleanup whenever we get a chance and I was aware of this particular one. Having said that, it would be fantastic if you could submit a PR with this particular fix. Thanks for bringing it up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants