This commit is contained in:
badlogic 2020-04-13 11:20:01 +02:00
commit d7c2fecf97

View File

@ -92,7 +92,8 @@ char* _spReadFile (const char* path, int* length) {
fseek(file, 0, SEEK_SET);
data = MALLOC(char, *length);
fread(data, 1, *length, file);
size_t result = fread(data, 1, *length, file);
UNUSED(result);
fclose(file);
return data;