ufrisk / MemProcFS

MemProcFS
GNU Affero General Public License v3.0
3.14k stars 382 forks source link

Remove unnecessary null pointer checks #2

Closed elfring closed 5 years ago

elfring commented 6 years ago

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

ufrisk commented 6 years ago

Thanks for making me aware of this. I imagine there are quite a few places in the code.

I'll remove this in my internal dev version and push the changes in my next release which will hopefully contain some new features as well. It's always nice to simplify the code a bit.

ufrisk commented 5 years ago

I'm closing this issue since this has been resolved in Version 1.1 published a week ago.

elfring commented 5 years ago

Thanks for your source code improvement.