diff options
author | Michael Eager <eager@eagercon.com> | 2013-03-12 15:19:23 +0000 |
---|---|---|
committer | Michael Eager <eager@eagercon.com> | 2013-03-12 15:19:23 +0000 |
commit | 0a7bfc70ee5926ce9b22c5db79fea0a4368a4a34 (patch) | |
tree | dd9e9018750071ffe5df15c5363d54cb37941d56 /opcodes/mips-dis.c | |
parent | 696158245f1a3bca218ad6861a61a5ddcb45d156 (diff) | |
download | binutils-redhat-0a7bfc70ee5926ce9b22c5db79fea0a4368a4a34.tar.gz |
Eliminate warning message.
* opcodes/mips-dis.c (print_insn_args): Modify def of reg.
Diffstat (limited to 'opcodes/mips-dis.c')
-rw-r--r-- | opcodes/mips-dis.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c index 9c9112b3f5..018ac94f30 100644 --- a/opcodes/mips-dis.c +++ b/opcodes/mips-dis.c @@ -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 |