[client] spice: remove suprious const on function return type

const in the return type does nothing and triggers -Wignored-qualifiers.
This commit is contained in:
Quantum authored and Geoffrey McRae committed 2021-01-15 08:06:56 +11:00
1 parent 0495f5de26
commit 5f20ee46a8
1 file changed
+1 -1
+1 -1
View File
@@ -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)