Eliminate warning message.
authorMichael Eager <eager@eagercon.com>
Tue, 12 Mar 2013 15:19:23 +0000 (15:19 +0000)
committerMichael Eager <eager@eagercon.com>
Tue, 12 Mar 2013 15:19:23 +0000 (15:19 +0000)
* opcodes/mips-dis.c (print_insn_args): Modify def of reg.

opcodes/ChangeLog
opcodes/mips-dis.c

index 554d8a0a86524ba0720bfdad4876dcdcf20ac583..66556f1c913c4ef5934d6e78011418ed43f819e1 100644 (file)
@@ -1,3 +1,7 @@
+2013-03-12  Michael Eager <eager@eagercon.com>
+
+       * opcodes/mips-dis.c (print_insn_args): Modify def of reg. 
+
 2013-03-11  Sebastian Huber <sebastian.huber@embedded-brains.de>
 
        * nios2-opc.c (nios2_builtin_opcodes): Add entry for wrprs.
index 9c9112b3f59110b3e0064913701307a2743bb88c..018ac94f302c0c68e2ac7f3a339c18afcfb5857e 100644 (file)
@@ -1273,7 +1273,9 @@ print_insn_args (const char *d,
        case 'U':
          {
            /* First check for both rd and rt being equal.  */
-           unsigned int reg = GET_OP (l, RD);
+           unsigned int reg;
+
+           reg = GET_OP (l, RD);
            if (reg == GET_OP (l, RT))
              infprintf (is, "%s", mips_gpr_names[reg]);
            else
This page took 0.029095 seconds and 4 git commands to generate.