mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 10:08:06 +02:00
ply-keyboard: Fix compiler warning
Fix: "warning: enumeration value ‘PLY_KEYBOARD_PROVIDER_TYPE_TERMINAL’ not handled in switch [-Wswitch-enum]" compiler warning. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
5e1adec230
commit
bac628cd05
1 changed files with 2 additions and 2 deletions
|
|
@ -596,8 +596,8 @@ ply_keyboard_get_renderer (ply_keyboard_t *keyboard)
|
|||
case PLY_KEYBOARD_PROVIDER_TYPE_RENDERER:
|
||||
return keyboard->provider.if_renderer->renderer;
|
||||
|
||||
default:
|
||||
break;
|
||||
case PLY_KEYBOARD_PROVIDER_TYPE_TERMINAL:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue