projects
/
profile
/
ivi
/
weston-ivi-shell.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8986c18
)
editor: Remove unused variables
author
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 21 Apr 2014 22:33:51 +0000
(15:33 -0700)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Mon, 21 Apr 2014 22:33:51 +0000
(15:33 -0700)
clients/editor.c
patch
|
blob
|
history
diff --git
a/clients/editor.c
b/clients/editor.c
index
4797e47
..
3b00833
100644
(file)
--- a/
clients/editor.c
+++ b/
clients/editor.c
@@
-386,14
+386,8
@@
text_input_keysym(void *data,
uint32_t modifiers)
{
struct text_entry *entry = data;
- const char *state_label = "release";
- const char *key_label = "Unknown";
const char *new_char;
- if (state == WL_KEYBOARD_KEY_STATE_PRESSED) {
- state_label = "pressed";
- }
-
if (key == XKB_KEY_Left ||
key == XKB_KEY_Right) {
if (state != WL_KEYBOARD_KEY_STATE_RELEASED)