aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-12-04 23:49:48 -0500
committerMike Frysinger <vapier@gentoo.org>2023-12-04 23:49:48 -0500
commit02b8b049a4bf2afb2b74dd4616509eac885b84e0 (patch)
tree2b5924457bff1e35d76908103e0d066cc4d9587a
parentbe3701ba8cb65ac54c2da1d0cd52aef89d1ea3ab (diff)
downloadfsf-binutils-gdb-02b8b049a4bf2afb2b74dd4616509eac885b84e0.zip
fsf-binutils-gdb-02b8b049a4bf2afb2b74dd4616509eac885b84e0.tar.gz
fsf-binutils-gdb-02b8b049a4bf2afb2b74dd4616509eac885b84e0.tar.bz2
sim: rx: mark unused static var as unused
This seems like a useful utility func that mirrors the int2float helper, so mark it as unused rather than delete.
-rw-r--r--sim/rx/rx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/rx/rx.c b/sim/rx/rx.c
index 7502131..a6cfcf3 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)
{