mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-23 06:11:46 +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
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue