mirror of
https://github.com/glest/glest-source.git
synced 2025-08-08 09:26:27 +02:00
- coverity based bug fixes - round #1
This commit is contained in:
@@ -176,7 +176,7 @@ inline static void get_random_info(char seed[16]) {
|
||||
seed[i++] = myrand >> 8;
|
||||
} while (i < 14);
|
||||
|
||||
fclose(fp);
|
||||
if(fp != NULL) fclose(fp);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user