preventing from [-Werror=unused-result] (3#)
This commit is contained in:
parent
d94a65e50d
commit
385f39b05d
@ -40,7 +40,7 @@ int main(void)
|
|||||||
buffer = malloc(bufferSize + 1);
|
buffer = malloc(bufferSize + 1);
|
||||||
|
|
||||||
//LOAD jsonFile
|
//LOAD jsonFile
|
||||||
fread(buffer, bufferSize, 1, fileBuffer);
|
if (fread(buffer, bufferSize, 1, fileBuffer) == 0) abort(); //TODO: Make it safe
|
||||||
|
|
||||||
printf("%s\n", buffer);
|
printf("%s\n", buffer);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user