소스 검색

Merge branch '3.8' of https://github.com/esotericsoftware/spine-runtimes into 3.8

badlogic 5 년 전
부모
커밋
d7c2fecf97
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      spine-c/spine-c/src/spine/extension.c

+ 2 - 1
spine-c/spine-c/src/spine/extension.c

@@ -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;