From cc26f4127c380f3371d42f2d4660f50719cac311 Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Mon, 10 Oct 2005 05:13:47 +0000 Subject: [PATCH] * nasm-pp.c, x86id.re: Remove a couple of unused variables. svn path=/trunk/yasm/; revision=1278 --- modules/arch/x86/x86id.re | 2 +- modules/preprocs/nasm/nasm-pp.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/arch/x86/x86id.re b/modules/arch/x86/x86id.re index 1c887985..10735c1d 100644 --- a/modules/arch/x86/x86id.re +++ b/modules/arch/x86/x86id.re @@ -3408,7 +3408,7 @@ int yasm_x86__parse_check_reggroup(yasm_arch *arch, unsigned long data[1], const char *id, unsigned long line) { - const char *oid = id; + /*const char *oid = id;*/ /*!re2c /* floating point, MMX, and SSE/SSE2 registers */ 'st' { diff --git a/modules/preprocs/nasm/nasm-pp.c b/modules/preprocs/nasm/nasm-pp.c index 4a1d0710..4c219227 100644 --- a/modules/preprocs/nasm/nasm-pp.c +++ b/modules/preprocs/nasm/nasm-pp.c @@ -1314,7 +1314,6 @@ inc_fopen(char *file) const char *prefix = ""; char *combine; IncPath *ip = ipath; - static int namelen = 0; int len = strlen(file); while (1) -- 2.40.0