From e3e8b0b7e0bb7d8eb138169b92eaf1f2cfd5b222 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 21 Sep 2013 14:12:20 +0200 Subject: Fix gcc warning * console-client/xkb/kstoucs.c (find_ucs): Return 0 by default. --- console-client/xkb/kstoucs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'console-client') diff --git a/console-client/xkb/kstoucs.c b/console-client/xkb/kstoucs.c index e93cc858..0211e9e3 100644 --- a/console-client/xkb/kstoucs.c +++ b/console-client/xkb/kstoucs.c @@ -37,6 +37,7 @@ unsigned int doit (int keysym) return find_ucs (keysym, middle+1, last); else if (middle->keysym > keysym) return find_ucs (keysym, first, middle-1); + return 0; } #define NUM_KEYSYMS (sizeof kstoucs_map / sizeof(struct ksmap)) -- cgit v1.2.3