summaryrefslogtreecommitdiff
path: root/clients
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2014-04-21 15:33:51 -0700
committerKristian Høgsberg <krh@bitplanet.net>2014-04-21 15:33:51 -0700
commit6375ea02e591c5635d8982a96753acdd1b635ab4 (patch)
treeaa420cfb2b669c22f5e68257589b3e2040bd4c8f /clients
parent8986c18f698c128089d5e2961dd650bb9bf8a3dc (diff)
downloadweston-6375ea02e591c5635d8982a96753acdd1b635ab4.tar.gz
editor: Remove unused variables
Diffstat (limited to 'clients')
-rw-r--r--clients/editor.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/clients/editor.c b/clients/editor.c
index 4797e472..3b00833e 100644
--- 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)