Silence warning on switch over sdl scancodes

alut-include-path
Julius Michaelis 2017-02-21 19:36:15 +01:00
parent 61bcdeba46
commit 5ad6012a3f
1 changed files with 1 additions and 1 deletions

View File

@ -245,8 +245,8 @@ static C4KeyCode sdl_scancode_to_keycode(SDL_Scancode scancode)
#define X(sdl, oc) case sdl: return oc;
SDL_SCANCODE_KEYCODE
#undef X
default: return 0; // silence warnings.
}
return 0;
}
const char* KeycodeToString(C4KeyCode code)