summaryrefslogtreecommitdiffstats
path: root/xterm-keys.c
diff options
context:
space:
mode:
authornicm <nicm>2015-08-30 15:43:40 +0000
committernicm <nicm>2015-08-30 15:43:40 +0000
commitb87dc608d9b5b470926aaf77c5956befdfb7bc7b (patch)
treea724506b817ef6ac35a28770bcc6731234547113 /xterm-keys.c
parent5047670693e3bc861eb4ae95708c96041b12a759 (diff)
Some style nits and dead assignments.
Diffstat (limited to 'xterm-keys.c')
-rw-r--r--xterm-keys.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xterm-keys.c b/xterm-keys.c
index 5ca75d89..10d51c78 100644
--- a/xterm-keys.c
+++ b/xterm-keys.c
@@ -120,6 +120,8 @@ xterm_keys_match(const char *template, const char *buf, size_t len,
size_t pos;
int retval;
+ *modifiers = 0;
+
if (len == 0)
return (0);