diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-11-01 18:15:23 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-11-01 18:15:23 -0400 |
commit | 92173edbc0d35420056034d5139a71575e370538 (patch) | |
tree | 2c1385a745a2a3bb27c2546e29612f9c1abd214b /src | |
parent | 591391b9bc9a28fc1052d6fb22e297bca32555f7 (diff) | |
parent | 235287810ea168aa0624f8bb2e072319e2c91bd9 (diff) | |
download | rneovim-92173edbc0d35420056034d5139a71575e370538.tar.gz rneovim-92173edbc0d35420056034d5139a71575e370538.tar.bz2 rneovim-92173edbc0d35420056034d5139a71575e370538.zip |
Merge pull request #1371 from GokuITA/coverity74362
coverity/74362: Initialized Array using ARRAY_DICT_INIT
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/msgpack_rpc/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/msgpack_rpc/channel.c b/src/nvim/msgpack_rpc/channel.c index 8d74921562..58e1f403ec 100644 --- a/src/nvim/msgpack_rpc/channel.c +++ b/src/nvim/msgpack_rpc/channel.c @@ -433,7 +433,7 @@ static void handle_request(Channel *channel, msgpack_object *request) handler.defer = false; } - Array args; + Array args = ARRAY_DICT_INIT; msgpack_rpc_to_array(request->via.array.ptr + 3, &args); if (kv_size(channel->call_stack) || !handler.defer) { |