Merge pull request #1371 from GokuITA/coverity74362

coverity/74362: Initialized Array using ARRAY_DICT_INIT
This commit is contained in:
Justin M. Keyes 2014-11-01 18:15:23 -04:00
commit 92173edbc0

View File

@ -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) {