]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: rx: mark unused static var as unused
authorMike Frysinger <vapier@gentoo.org>
Tue, 5 Dec 2023 04:49:48 +0000 (23:49 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 5 Dec 2023 04:49:48 +0000 (23:49 -0500)
This seems like a useful utility func that mirrors the int2float
helper, so mark it as unused rather than delete.

sim/rx/rx.c

index 7502131f1319d889004337391c0dc210abda06d4..a6cfcf327de759453cf6e0c1336d2dedcd11559f 100644 (file)
@@ -754,6 +754,7 @@ typedef union {
   float f;
 } FloatInt;
 
+ATTRIBUTE_UNUSED
 static inline int
 float2int (float f)
 {