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

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