forked from enlightenment/efl
evas generic loader raw - fix small coverity complaint
technically we dont handle a failed fwrite to stdout according to coverity, but this is harmless as it doesnt matter if it fails - the owner process cares. slave does not. silence CID 1356615
This commit is contained in:
parent
f6d8ae3123
commit
3c5ab2b46e
|
@ -229,7 +229,14 @@ int main(int argc, char **argv)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
printf("data\n");
|
printf("data\n");
|
||||||
fwrite(data, (unsigned int)(width * height) * sizeof(DATA32), 1, stdout);
|
if (fwrite(data,
|
||||||
|
(unsigned int)(width * height) * sizeof(DATA32),
|
||||||
|
1, stdout) != 1)
|
||||||
|
{
|
||||||
|
shm_free();
|
||||||
|
_raw_shutdown();
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
shm_free();
|
shm_free();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue