mirror of
https://github.com/glest/glest-source.git
synced 2025-08-11 02:43:57 +02:00
- bugfixes related to cppcheck report
- bugfixes found using valgrind (memory leaks)
This commit is contained in:
@@ -717,7 +717,7 @@ void MapPreview::loadFromFile(const string &path) {
|
||||
#else
|
||||
FILE *f1 = fopen(path.c_str(), "rb");
|
||||
#endif
|
||||
int fileErrno = errno;
|
||||
//int fileErrno = errno;
|
||||
if (f1 != NULL) {
|
||||
|
||||
//read header
|
||||
|
Reference in New Issue
Block a user