mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Merge pull request #1371 from GokuITA/coverity74362
coverity/74362: Initialized Array using ARRAY_DICT_INIT
This commit is contained in:
commit
92173edbc0
@ -433,7 +433,7 @@ static void handle_request(Channel *channel, msgpack_object *request)
|
|||||||
handler.defer = false;
|
handler.defer = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Array args;
|
Array args = ARRAY_DICT_INIT;
|
||||||
msgpack_rpc_to_array(request->via.array.ptr + 3, &args);
|
msgpack_rpc_to_array(request->via.array.ptr + 3, &args);
|
||||||
|
|
||||||
if (kv_size(channel->call_stack) || !handler.defer) {
|
if (kv_size(channel->call_stack) || !handler.defer) {
|
||||||
|
Loading…
Reference in New Issue
Block a user