From 5f20ee46a8ea70ed64887dd1933ef3c1c1c4ba72 Mon Sep 17 00:00:00 2001 From: Quantum Date: Thu, 14 Jan 2021 03:52:34 -0500 Subject: [PATCH] [client] spice: remove suprious const on function return type const in the return type does nothing and triggers -Wignored-qualifiers. --- client/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/main.c b/client/src/main.c index 8561f87d..557183bb 100644 --- a/client/src/main.c +++ b/client/src/main.c @@ -668,7 +668,7 @@ int spiceThread(void * arg) return 0; } -static inline const uint32_t mapScancode(SDL_Scancode scancode) +static inline uint32_t mapScancode(SDL_Scancode scancode) { uint32_t ps2; if (scancode > (sizeof(usb_to_ps2) / sizeof(uint32_t)) || (ps2 = usb_to_ps2[scancode]) == 0)