mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 01:36:02 +08:00
Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8
This commit is contained in:
commit
d7c2fecf97
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user