mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 14:28:18 +00:00
Change QUEUE_FOREACH macro to use while instead of for
This commit is contained in:
@@ -5289,10 +5289,10 @@ bool set_ref_in_item(typval_T *tv, int copyID, ht_stack_T **ht_stack,
|
||||
|
||||
QUEUE *w = NULL;
|
||||
DictWatcher *watcher = NULL;
|
||||
QUEUE_FOREACH(w, &dd->watchers) {
|
||||
QUEUE_FOREACH(w, &dd->watchers, {
|
||||
watcher = tv_dict_watcher_node_data(w);
|
||||
set_ref_in_callback(&watcher->callback, copyID, ht_stack, list_stack);
|
||||
}
|
||||
})
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user