summaryrefslogtreecommitdiffstats
path: root/tty-keys.c
diff options
context:
space:
mode:
authornicm <nicm>2015-11-14 10:57:59 +0000
committernicm <nicm>2015-11-14 10:57:59 +0000
commitdab63b029e94dcabe335abf7f89c66c28486a542 (patch)
treebde69e72dbb2bad2c6ec306602ac1f8ac203d924 /tty-keys.c
parent64333e3ef89047d1c09cdc5053af647dbd8344da (diff)
Couple of assignments to remove compiler warnings.
Diffstat (limited to 'tty-keys.c')
-rw-r--r--tty-keys.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tty-keys.c b/tty-keys.c
index 4bdc061a..cc6b934a 100644
--- a/tty-keys.c
+++ b/tty-keys.c
@@ -546,6 +546,7 @@ first_key:
goto discard_key;
goto partial_key;
}
+ more = 1;
for (i = 1; i < size; i++)
more = utf8_append(&ud, (u_char)buf[i]);
if (more != 0)