-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 #6
Labels
Comments
Yes, you are right. we don't need to check whether the point is NULL before we delete it. |
we have removed these unnecessary pointers |
Thanks for your small source code improvement. |
Closed
AlexStocks
pushed a commit
to ipixiu/pika
that referenced
this issue
Dec 21, 2018
* update Makefile * bugfix Expire() and Makefile * fix conflict * fix conflict * fix conlict * fix conlict * add packages in travis * modify Expire() * fix Del() * add comments * compatiable with redis protocol * optimize code
AlexStocks
pushed a commit
to ipixiu/pika
that referenced
this issue
Dec 21, 2018
…tomFoundation#6) * MOD: clean-tidy the GetKeyNum and GetProperty in blackwidow.cc * Fix: the iterator the order of db in GetKeyNum
Closed
luky116
referenced
this issue
in luky116/pika
May 22, 2023
fix: remove new/delete in net (OpenAtomFoundation#1503)
AlexStocks
pushed a commit
to AlexStocks/pika
that referenced
this issue
May 26, 2023
style:format codes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
An extra null pointer check is not needed in functions like the following.
The text was updated successfully, but these errors were encountered: