"James Hawkins" truiken@gmail.com writes:
Changelog:
- Change the do-while loop to a while loop, as arg can be NULL before the loop.
I'm not sure what code checker you are using for these things, but please don't blindly quiet the warnings, try to understand the code and fix it the right way. Pretty much every one of your NULL check patches has the same problem.