summaryrefslogtreecommitdiff
path: root/parser.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-05-14 22:38:55 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-05-14 22:38:55 +0000
commit310b3e165f86d6655bf68bd89ff9309aa63663f2 (patch)
treed06af9a44d1e2f0d165caf33be7a3718995f5838 /parser.c
parent86e94b1b3396a1611dcb545baed5f9760cf903c3 (diff)
downloadnasm-310b3e165f86d6655bf68bd89ff9309aa63663f2.tar.gz
nasm-310b3e165f86d6655bf68bd89ff9309aa63663f2.tar.bz2
nasm-310b3e165f86d6655bf68bd89ff9309aa63663f2.zip
Code cleanup fixes from Ed Beroset
Diffstat (limited to 'parser.c')
-rw-r--r--parser.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/parser.c b/parser.c
index 653f8a6..abfe91f 100644
--- a/parser.c
+++ b/parser.c
@@ -696,8 +696,6 @@ insn *parse_line (int pass, char *buffer, insn *result,
}
else /* it's a register */
{
- int i;
-
if (value->type>=EXPR_SIMPLE || value->value!=1) {
error (ERR_NONFATAL, "invalid operand type");
result->opcode = -1;