qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] target-mips: fix warnings reported by clang
@ 2014-12-12  9:29 Leon Alrae
  2014-12-12  9:30 ` [Qemu-devel] [PATCH 1/4] target-mips: convert single case switch into if statement Leon Alrae
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Leon Alrae @ 2014-12-12  9:29 UTC (permalink / raw)
  To: qemu-devel; +Cc: aurelien

Hi,

A few patches fixing warnings reported by clang:

target-mips/translate.c:1968:15: warning: no case matching constant switch
condition '16'
disas/mips.c:3804:27: warning: unused variable 'mips_msa_control_names_numeric'
[-Wunused-const-variable]
disas/mips.c:3515:27: warning: unused variable 'mips16_to_32_reg_map'
[-Wunused-const-variable]
target-mips/helper.c:393:27: warning: unused variable 'excp_names'
[-Wunused-const-variable]

Patch #3 in the series additionally removes block of code guarded by #if 0 that
has never been used since it was introduced.

Regards,
Leon

Leon Alrae (4):
  target-mips: convert single case switch into if statement
  disas/mips: remove unused mips_msa_control_names_numeric[32]
  disas/mips: remove unused mips16_to_32_reg_map[]
  target-mips: remove excp_names[] from linux-user as it is unused

 disas/mips.c            | 728 ------------------------------------------------
 target-mips/helper.c    |   2 +-
 target-mips/translate.c |   4 +-
 3 files changed, 2 insertions(+), 732 deletions(-)

-- 
2.1.0

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-12-12 16:48 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-12  9:29 [Qemu-devel] [PATCH 0/4] target-mips: fix warnings reported by clang Leon Alrae
2014-12-12  9:30 ` [Qemu-devel] [PATCH 1/4] target-mips: convert single case switch into if statement Leon Alrae
2014-12-12 12:25   ` Peter Maydell
2014-12-12  9:30 ` [Qemu-devel] [PATCH 2/4] disas/mips: remove unused mips_msa_control_names_numeric[32] Leon Alrae
2014-12-12 12:26   ` Peter Maydell
2014-12-12  9:30 ` [Qemu-devel] [PATCH 3/4] disas/mips: remove unused mips16_to_32_reg_map[] Leon Alrae
2014-12-12 12:25   ` Peter Maydell
2014-12-12 14:28     ` Leon Alrae
2014-12-12 14:51       ` Peter Maydell
2014-12-12 15:52         ` Leon Alrae
2014-12-12 15:53           ` Peter Maydell
2014-12-12 16:48             ` Leon Alrae
2014-12-12  9:30 ` [Qemu-devel] [PATCH 4/4] target-mips: remove excp_names[] from linux-user as it is unused Leon Alrae
2014-12-12 12:25   ` Peter Maydell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).