mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-16 06:30:52 +00:00
Ignored fread fix
This commit is contained in:
parent
d5a0b2df4d
commit
72c2b28328
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ model_t *MD2_LoadModel(const char *fileName, int ztag, boolean useFloat)
|
||||||
|
|
||||||
// read in file
|
// read in file
|
||||||
buffer = malloc(fileLen);
|
buffer = malloc(fileLen);
|
||||||
fread(buffer, fileLen, 1, f);
|
if (fread(buffer, fileLen, 1, f)) { } // squash ignored fread error
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
|
||||||
// get pointer to file header
|
// get pointer to file header
|
||||||
|
|
Loading…
Reference in a new issue