- more cppcheck cleanup

This commit is contained in:
SoftCoder
2017-10-09 23:22:55 -07:00
parent 588ec21d8a
commit ffe6e5462d
4 changed files with 26 additions and 26 deletions

View File

@@ -1114,7 +1114,7 @@ bool MapPreview::loadMapInfo(string file, MapInfo *mapInfo, string i18nMaxMapPla
}
}
if(f) fclose(f);
fclose(f);
}
catch(exception &e) {
if(f) fclose(f);