diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-01-13 18:54:54 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-01-13 18:54:54 +0000 |
commit | a9be79d65f5a34cd84c48f81eb4875aeb4c027d2 (patch) | |
tree | b1fae16588c22369d6f4c44d2f4c347b587ed3a0 /sparc-dis.c | |
parent | 898353638868b91f15545647f6551825321ada2d (diff) | |
download | hqemu-a9be79d65f5a34cd84c48f81eb4875aeb4c027d2.zip hqemu-a9be79d65f5a34cd84c48f81eb4875aeb4c027d2.tar.gz |
Sparc: comment out unused variable, spotted by clang
The variable is_annulled is referenced in a FIXME comment, so instead
of removing the variable, comment out the lines so that the FIXME
can be understood.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'sparc-dis.c')
-rw-r--r-- | sparc-dis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sparc-dis.c b/sparc-dis.c index 53c8c90..83a12ae 100644 --- a/sparc-dis.c +++ b/sparc-dis.c @@ -2760,7 +2760,7 @@ print_insn_sparc (bfd_vma memaddr, disassemble_info *info) int found_plus = 0; /* Nonzero means we have an annulled branch. */ - int is_annulled = 0; + /* int is_annulled = 0; */ /* see FIXME below */ /* Do we have an `add' or `or' instruction combining an immediate with rs1? */ @@ -2796,7 +2796,7 @@ print_insn_sparc (bfd_vma memaddr, disassemble_info *info) { case 'a': (*info->fprintf_func) (stream, "a"); - is_annulled = 1; + /* is_annulled = 1; */ /* see FIXME below */ ++s; continue; case 'N': |