mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +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:
@@ -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);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user