mirror of
https://github.com/glest/glest-source.git
synced 2025-08-12 19:33:59 +02:00
- a few minor bug fixes related to code warnings
- code cleanup based on additional gcc warnings - enabled additional gcc compiler warnings
This commit is contained in:
@@ -162,6 +162,7 @@ inline static void get_random_info(char seed[16]) {
|
||||
|
||||
if (NULL != fp) {
|
||||
size_t bytes = fread(seed,sizeof(char),16,fp);
|
||||
if(bytes <= 0) { }
|
||||
fclose(fp);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user