mirror of https://github.com/proxmox/mirror_qemu
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>master
parent
8983536388
commit
a9be79d65f
|
@ -2760,7 +2760,7 @@ print_insn_sparc (bfd_vma memaddr, disassemble_info *info)
|
||||||
int found_plus = 0;
|
int found_plus = 0;
|
||||||
|
|
||||||
/* Nonzero means we have an annulled branch. */
|
/* 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
|
/* Do we have an `add' or `or' instruction combining an
|
||||||
immediate with rs1? */
|
immediate with rs1? */
|
||||||
|
@ -2796,7 +2796,7 @@ print_insn_sparc (bfd_vma memaddr, disassemble_info *info)
|
||||||
{
|
{
|
||||||
case 'a':
|
case 'a':
|
||||||
(*info->fprintf_func) (stream, "a");
|
(*info->fprintf_func) (stream, "a");
|
||||||
is_annulled = 1;
|
/* is_annulled = 1; */ /* see FIXME below */
|
||||||
++s;
|
++s;
|
||||||
continue;
|
continue;
|
||||||
case 'N':
|
case 'N':
|
||||||
|
|
Loading…
Reference in New Issue