]> granicus.if.org Git - yasm/commitdiff
* nasm-pp.c, x86id.re: Remove a couple of unused variables.
authorPeter Johnson <peter@tortall.net>
Mon, 10 Oct 2005 05:13:47 +0000 (05:13 -0000)
committerPeter Johnson <peter@tortall.net>
Mon, 10 Oct 2005 05:13:47 +0000 (05:13 -0000)
svn path=/trunk/yasm/; revision=1278

modules/arch/x86/x86id.re
modules/preprocs/nasm/nasm-pp.c

index 1c88798590e0d44cbef9affb0793457b8acba34c..10735c1d8161abf059189e17d9290ec9cbcb2e2e 100644 (file)
@@ -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'            {
index 4a1d07102dd6975760097b1551228c23b3e582c7..4c21922794a84b18987b6ce5c658e28348a3bfff 100644 (file)
@@ -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)