From f5021dcf5a5a4daa9f315526df099bb3c8ed6064 Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Wed, 18 Oct 2023 17:29:46 +0100 Subject: [PATCH] d/nreal_air: Silence warning [NFC] --- src/xrt/drivers/nreal_air/na_packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/drivers/nreal_air/na_packet.c b/src/xrt/drivers/nreal_air/na_packet.c index d9c8c09e4..9a89940ce 100644 --- a/src/xrt/drivers/nreal_air/na_packet.c +++ b/src/xrt/drivers/nreal_air/na_packet.c @@ -99,7 +99,7 @@ read_u16(const uint8_t **buffer, uint16_t *out_value) *buffer += 2; } -static inline void +XRT_MAYBE_UNUSED static inline void read_u32(const uint8_t **buffer, uint32_t *out_value) { *out_value = (*(*buffer + 0) << 0u) | // Byte 0