swc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/swc
Log | Files | Refs | README | LICENSE

commit bdd480cf591e9436f28b3405b7c832111d67a192
parent fdd795ec5ccf97d006950d3218d3460a53de56a7
Author: Michael Forney <mforney@mforney.org>
Date:   Sun,  3 Aug 2014 14:43:21 -0700

bindings: Handle invalid binding type

Diffstat:
Mlibswc/bindings.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/libswc/bindings.c b/libswc/bindings.c @@ -176,6 +176,8 @@ void swc_add_binding(enum swc_binding_type type, case SWC_BINDING_BUTTON: bindings = &button_bindings; break; + default: + return; } binding = wl_array_add(bindings, sizeof *binding);