fix some things cppcheck found...some are TODO because i don't feel like investigating them

This commit is contained in:
DarthArgus
2015-03-25 19:07:38 -05:00
parent 2c8ee9dc3e
commit 173575e835
15 changed files with 68 additions and 18 deletions
@@ -253,7 +253,7 @@ bool PaletteArgb::write(const char *pathName) const
// open file
FILE *const file = fopen(pathName, "wb");
if (!file)
if (file==NULL)
{
WARNING(true, ("failed to open file [%s] for writing.", pathName));
return false;