qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Leon Alrae <leon.alrae@imgtec.com>
To: qemu-devel@nongnu.org
Cc: aurelien@aurel32.net
Subject: [Qemu-devel] [PATCH 0/4] target-mips: fix warnings reported by clang
Date: Fri, 12 Dec 2014 09:29:59 +0000	[thread overview]
Message-ID: <1418376603-18360-1-git-send-email-leon.alrae@imgtec.com> (raw)

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

             reply	other threads:[~2014-12-12  9:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-12  9:29 Leon Alrae [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1418376603-18360-1-git-send-email-leon.alrae@imgtec.com \
    --to=leon.alrae@imgtec.com \
    --cc=aurelien@aurel32.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).