summaryrefslogtreecommitdiffstats
path: root/libcpu/i386_parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'libcpu/i386_parse.y')
-rw-r--r--libcpu/i386_parse.y3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcpu/i386_parse.y b/libcpu/i386_parse.y
index 5c91e520..afe488fc 100644
--- a/libcpu/i386_parse.y
+++ b/libcpu/i386_parse.y
@@ -1242,8 +1242,7 @@ instrtable_out (void)
fputs ("};\n", outfile);
fputs ("static const uint8_t match_data[] =\n{\n", outfile);
- size_t cnt = 0;
- for (instr = instructions; instr != NULL; instr = instr->next, ++cnt)
+ for (instr = instructions; instr != NULL; instr = instr->next)
{
/* First count the number of bytes. */
size_t totalbits = 0;