mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-11 08:28:29 +01:00
Couple of assignments to remove compiler warnings.
This commit is contained in:
parent
64333e3ef8
commit
dab63b029e
@ -176,6 +176,7 @@ key_string_lookup_string(const char *string)
|
||||
if (utf8_open(&ud, (u_char)*string)) {
|
||||
if (strlen(string) != ud.size)
|
||||
return (KEYC_NONE);
|
||||
more = 1;
|
||||
for (i = 1; i < ud.size; i++)
|
||||
more = utf8_append(&ud, (u_char)string[i]);
|
||||
if (more != 0)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user