Shut up warn_unused_result warning

This commit is contained in:
Thilo Schulz 2009-11-08 17:00:27 +00:00
parent f086a5d20d
commit 5785b45e6a

View file

@ -68,10 +68,15 @@ static void _crap(const char* func, const char* fmt, ...)
static void emit1(unsigned char v) static void emit1(unsigned char v)
{ {
int writecnt;
if(assembler_pass) if(assembler_pass)
{ {
out[compiledOfs++] = v; out[compiledOfs++] = v;
if(fout) fwrite(&v, 1, 1, fout);
if(fout)
writecnt = fwrite(&v, 1, 1, fout);
debug("%02hhx ", v); debug("%02hhx ", v);
} }
else else