[quake3-commits] r1740 - trunk/code/qcommon
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Sun Nov 8 12:00:38 EST 2009
Author: thilo
Date: 2009-11-08 12:00:27 -0500 (Sun, 08 Nov 2009)
New Revision: 1740
Modified:
trunk/code/qcommon/vm_x86_64_assembler.c
Log:
Shut up warn_unused_result warning
Modified: trunk/code/qcommon/vm_x86_64_assembler.c
===================================================================
--- trunk/code/qcommon/vm_x86_64_assembler.c 2009-11-08 14:59:06 UTC (rev 1739)
+++ trunk/code/qcommon/vm_x86_64_assembler.c 2009-11-08 17:00:27 UTC (rev 1740)
@@ -68,10 +68,15 @@
static void emit1(unsigned char v)
{
+ int writecnt;
+
if(assembler_pass)
{
out[compiledOfs++] = v;
- if(fout) fwrite(&v, 1, 1, fout);
+
+ if(fout)
+ writecnt = fwrite(&v, 1, 1, fout);
+
debug("%02hhx ", v);
}
else
More information about the quake3-commits
mailing list