mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-04 22:47:44 -04:00
fix clang warnings
so that they don't annoy me
This commit is contained in:
parent
ebf0e111a8
commit
cab9194354
2 changed files with 1 additions and 2 deletions
1
in_sdl.c
1
in_sdl.c
|
@ -123,7 +123,6 @@ static const char * const in_sdl_keys[SDLK_LAST] = {
|
||||||
[SDLK_DOWN] = "down",
|
[SDLK_DOWN] = "down",
|
||||||
[SDLK_RIGHT] = "right",
|
[SDLK_RIGHT] = "right",
|
||||||
[SDLK_LEFT] = "left",
|
[SDLK_LEFT] = "left",
|
||||||
[SDLK_DOWN] = "down",
|
|
||||||
[SDLK_INSERT] = "insert",
|
[SDLK_INSERT] = "insert",
|
||||||
[SDLK_HOME] = "home",
|
[SDLK_HOME] = "home",
|
||||||
[SDLK_END] = "end",
|
[SDLK_END] = "end",
|
||||||
|
|
|
@ -61,7 +61,7 @@ int in_evdev_allow_abs_only;
|
||||||
#define IN_EVDEV_PREFIX "evdev:"
|
#define IN_EVDEV_PREFIX "evdev:"
|
||||||
|
|
||||||
static const char * const in_evdev_keys[KEY_CNT] = {
|
static const char * const in_evdev_keys[KEY_CNT] = {
|
||||||
[0 ... KEY_MAX] = NULL,
|
// [0 ... KEY_MAX] = NULL, // not necessary
|
||||||
[KEY_RESERVED] = "Reserved", [KEY_ESC] = "Esc",
|
[KEY_RESERVED] = "Reserved", [KEY_ESC] = "Esc",
|
||||||
[KEY_1] = "1", [KEY_2] = "2",
|
[KEY_1] = "1", [KEY_2] = "2",
|
||||||
[KEY_3] = "3", [KEY_4] = "4",
|
[KEY_3] = "3", [KEY_4] = "4",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue