mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +00:00
[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:
parent
0495f5de26
commit
5f20ee46a8
@ -668,7 +668,7 @@ int spiceThread(void * arg)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline const uint32_t mapScancode(SDL_Scancode scancode)
|
static inline uint32_t mapScancode(SDL_Scancode scancode)
|
||||||
{
|
{
|
||||||
uint32_t ps2;
|
uint32_t ps2;
|
||||||
if (scancode > (sizeof(usb_to_ps2) / sizeof(uint32_t)) || (ps2 = usb_to_ps2[scancode]) == 0)
|
if (scancode > (sizeof(usb_to_ps2) / sizeof(uint32_t)) || (ps2 = usb_to_ps2[scancode]) == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user