From: mrezanin@redhat.com
To: qemu-devel@nongnu.org
Cc: Miroslav Rezanina <mrezanin@redhat.com>
Subject: [PATCH 0/4] Removal of several unused variables causing
Date: Wed, 9 Nov 2022 10:57:10 -0500 [thread overview]
Message-ID: <cover.1668009030.git.mrezanin@redhat.com> (raw)
From: Miroslav Rezanina <mrezanin@redhat.com>
When trying to run qemu build using clang 15.0.1 compiler with
--enable-werror option, several 'Unused but set variable' warnings
was breaking the build.
These variables show similar pattern - they are only incremented but
final value of the variable is never used.
Removing this variables to enable using --enable-werror option
with Clang 15.0.1.
Miroslav Rezanina (4):
rtl8139: Remove unused variable
tulip: Remove unused variable
qemu-img: remove unused variable
host-libusb: Remove unused variable
hw/net/rtl8139.c | 2 --
hw/net/tulip.c | 4 +---
hw/usb/host-libusb.c | 15 ---------------
qemu-img.c | 4 ++--
4 files changed, 3 insertions(+), 22 deletions(-)
--
2.31.1
next reply other threads:[~2022-11-09 15:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-09 15:57 mrezanin [this message]
2022-11-09 15:57 ` [PATCH 1/4] rtl8139: Remove unused variable mrezanin
2022-11-10 8:40 ` Thomas Huth
2022-11-09 15:57 ` [PATCH 2/4] tulip: " mrezanin
2022-11-10 8:41 ` Thomas Huth
2022-11-09 15:57 ` [PATCH 3/4] qemu-img: remove " mrezanin
2022-11-10 8:43 ` Thomas Huth
2022-11-09 15:57 ` [PATCH 4/4] host-libusb: Remove " mrezanin
2022-11-10 8:44 ` Thomas Huth
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=cover.1668009030.git.mrezanin@redhat.com \
--to=mrezanin@redhat.com \
--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).