From: Mike Frysinger Date: Tue, 5 Dec 2023 04:49:48 +0000 (-0500) Subject: sim: rx: mark unused static var as unused X-Git-Tag: binutils-2_42~720 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=02b8b049a4bf2afb2b74dd4616509eac885b84e0;p=thirdparty%2Fbinutils-gdb.git 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. --- diff --git a/sim/rx/rx.c b/sim/rx/rx.c index 7502131f131..a6cfcf327de 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) {