summaryrefslogtreecommitdiff
path: root/console-client
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-09-21 14:12:20 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-09-21 14:12:20 +0200
commite3e8b0b7e0bb7d8eb138169b92eaf1f2cfd5b222 (patch)
tree35dccc8fbb52ed0239e9921b484b93d93a330b38 /console-client
parent036e37ea05c59013bef4e40e6f3485b2674fd939 (diff)
Fix gcc warning
* console-client/xkb/kstoucs.c (find_ucs): Return 0 by default.
Diffstat (limited to 'console-client')
-rw-r--r--console-client/xkb/kstoucs.c1
1 files changed, 1 insertions, 0 deletions
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))