-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 #5
Comments
meh... you cave a comparison but than you assign a null pointer null again and have a unnecessary call to free. Anyhow such minor optimizations are something for much later imho. |
How do you think about to use a development tool like “clang-tidy” for corresponding source code adjustments? |
I never payed attention to that so idk. |
An extra null pointer check is not needed in functions like the following.
The text was updated successfully, but these errors were encountered: