From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Subject: [PATCH/committed 2/2] sim: rx: mark unused static var as unused
Date: Mon, 4 Dec 2023 23:50:59 -0500 [thread overview]
Message-ID: <20231205045059.4129-2-vapier@gentoo.org> (raw)
In-Reply-To: <20231205045059.4129-1-vapier@gentoo.org>
This seems like a useful utility func that mirrors the int2float
helper, so mark it as unused rather than delete.
---
sim/rx/rx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sim/rx/rx.c b/sim/rx/rx.c
index 7502131f1319..a6cfcf327de7 100644
--- a/sim/rx/rx.c
+++ b/sim/rx/rx.c
@@ -754,6 +754,7 @@ typedef union {
float f;
} FloatInt;
+ATTRIBUTE_UNUSED
static inline int
float2int (float f)
{
--
2.43.0
prev parent reply other threads:[~2023-12-05 4:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-05 4:50 [PATCH/committed 1/2] sim: rx: constify some read-only global vars Mike Frysinger
2023-12-05 4:50 ` Mike Frysinger [this message]
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=20231205045059.4129-2-vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=gdb-patches@sourceware.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 read-only IMAP folder(s) and NNTP newsgroup(s).