mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 02:46:31 +00:00
lib/kvec: Do not use kv_init unless needed
This commit is contained in:
@@ -574,8 +574,7 @@ static void send_event(Channel *channel,
|
||||
|
||||
static void broadcast_event(char *name, Array args)
|
||||
{
|
||||
kvec_t(Channel *) subscribed;
|
||||
kv_init(subscribed);
|
||||
kvec_t(Channel *) subscribed = KV_INITIAL_VALUE;
|
||||
Channel *channel;
|
||||
|
||||
map_foreach_value(channels, channel, {
|
||||
|
Reference in New Issue
Block a user