From 02b8b049a4bf2afb2b74dd4616509eac885b84e0 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 4 Dec 2023 23:49:48 -0500 Subject: 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. --- sim/rx/rx.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sim') 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) { -- cgit v1.1