don't ignore return values (trivial)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4173 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
570933cad8
commit
0408bdd240
|
@ -1265,6 +1265,9 @@ void Encode(void) /* compression */
|
|||
Error("Can't read");
|
||||
}
|
||||
r = ucl_nrv2b_99_compress(in, in_len, out, &out_len, 0 );
|
||||
if (r != UCL_E_OK) {
|
||||
Error("Error during compression.");
|
||||
}
|
||||
#if UCLPACK_COMPAT
|
||||
tw = htonl(out_len);
|
||||
if (fwrite(&tw, sizeof(tw), 1, outfile) != 1)
|
||||
|
|
Loading…
Reference in New Issue