mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
Fix a couple uninitialized variable warnings in the release build.
Reviewed-by: Eliseo Martínez <eliseomarmol@gmail.com> Reviewed-by: Marco Hinz <mh.codebro@gmail.com> Reviewed-by: Björn Linse <bjorn.linse@gmail.com>
This commit is contained in:
@@ -2130,7 +2130,7 @@ int mch_print_init(prt_settings_T *psettings, char_u *jobname, int forceit)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Use first encoding matched if no charset matched */
|
/* Use first encoding matched if no charset matched */
|
||||||
if (p_mbchar == NULL && p_mbenc_first != NULL) {
|
if (p_mbenc_first != NULL && p_mbchar == NULL) {
|
||||||
p_mbenc = p_mbenc_first;
|
p_mbenc = p_mbenc_first;
|
||||||
cmap = effective_cmap;
|
cmap = effective_cmap;
|
||||||
}
|
}
|
||||||
|
@@ -238,7 +238,7 @@ void server_stop(char *endpoint)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i == servers.ga_len) {
|
if (i >= servers.ga_len) {
|
||||||
ELOG("Not listening on %s", addr);
|
ELOG("Not listening on %s", addr);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user