2007-09-09 H.J. Lu <hongjiu.lu@intel.com>

* i386-gen.c (main): Remove the local variable, unused.
This commit is contained in:
H.J. Lu 2007-09-09 16:02:17 +00:00
parent 6d18b86b5d
commit 8b40d5948e
2 changed files with 11 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (main): Remove the local variable, unused.
2007-09-08 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run "make dep-am".

View File

@ -887,7 +887,7 @@ main (int argc, char **argv)
{
extern int chdir (char *);
char *srcdir = NULL;
int c, unused;
int c;
FILE *table;
program_name = *argv;
@ -924,16 +924,16 @@ main (int argc, char **argv)
/* Check the unused bitfield in i386_cpu_flags. */
#ifndef CpuUnused
unused = CpuNumOfBits - CpuMax - 1;
if (unused)
fail (_("%d unused bits in i386_cpu_flags.\n"), unused);
c = CpuNumOfBits - CpuMax - 1;
if (c)
fail (_("%d unused bits in i386_cpu_flags.\n"), c);
#endif
/* Check the unused bitfield in i386_operand_type. */
#ifndef OTUnused
unused = OTNumOfBits - OTMax - 1;
if (unused)
fail (_("%d unused bits in i386_operand_type.\n"), unused);
c = OTNumOfBits - OTMax - 1;
if (c)
fail (_("%d unused bits in i386_operand_type.\n"), c);
#endif
qsort (cpu_flags, ARRAY_SIZE (cpu_flags), sizeof (cpu_flags [0]),