*avoid warnings.
This commit is contained in:
parent
ac32f69f9f
commit
9908cd9ce9
@ -2199,7 +2199,7 @@ char* _load_file(const char* f, const char* prefix) {
|
|||||||
if(prefix) {
|
if(prefix) {
|
||||||
memcpy(buf, prefix, i);
|
memcpy(buf, prefix, i);
|
||||||
}
|
}
|
||||||
fread(buf + i, 1, l, fp);
|
(void)fread(buf + i, 1, l, fp);
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
buf[l] = '\0';
|
buf[l] = '\0';
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user