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 #40

Closed
elfring opened this issue Jan 4, 2025 · 1 comment
Closed

Remove unnecessary null pointer checks #40

elfring opened this issue Jan 4, 2025 · 1 comment
Assignees

Comments

@elfring
Copy link

elfring commented Jan 4, 2025

An extra null pointer check is not needed in functions like the following.

@elfring
Copy link
Author

elfring commented Jan 6, 2025

Thanks for your small source code improvement.
👀 Unfortunately, further update candidates were overlooked according to such a transformation pattern.
💭 Would you become interested to use a development tool like “clang-tidy” for corresponding source code adjustments?

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

No branches or pull requests

2 participants