Revert "recommit the innocuous fixes from cppcheck - the va_end calls were deleting pointers and breaking things further down the line"

This reverts commit bc33f176c2.
This commit is contained in:
DarthArgus
2015-04-02 22:40:20 -05:00
parent b80bd0c99b
commit def3a0350f
7 changed files with 13 additions and 11 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;