diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-12-27 16:06:57 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-12-27 16:06:57 +0100 |
commit | 1522d68ba866d47e0d9c12bc4df28d7e71407705 (patch) | |
tree | 18a82f08a0ae55445feb8849cd554096a3c106f2 /plugins/hotkeys/hotkeys.c | |
parent | 94dd735f3c45b43ca00eaba4f22ef8440259e142 (diff) |
fixed a bunch of minor compiler warnings and alsa hang on exit
Diffstat (limited to 'plugins/hotkeys/hotkeys.c')
-rw-r--r-- | plugins/hotkeys/hotkeys.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/hotkeys/hotkeys.c b/plugins/hotkeys/hotkeys.c index 2394634b..7d292f10 100644 --- a/plugins/hotkeys/hotkeys.c +++ b/plugins/hotkeys/hotkeys.c @@ -33,7 +33,7 @@ static intptr_t loop_tid; #define MAX_COMMAND_COUNT 256 typedef struct { - char *name; + const char *name; KeySym keysym; } xkey_t; @@ -66,7 +66,7 @@ get_keycode (Display *disp, const char* name) { static KeySym* syms; static int ks_per_kk; static int first_time = 1; - int i, j, ks; + int i, ks; if (first_time) { @@ -197,7 +197,6 @@ read_config (Display *disp) char* command = colon+1; *colon = 0; - int modifier = 0; char* key = NULL; int done = 0; |