mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 13:11:30 +00:00
Shut up warn_unused_result warning
This commit is contained in:
parent
f086a5d20d
commit
5785b45e6a
1 changed files with 6 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue