API: Refactor: Use macro for initializing all arrays

This commit is contained in:
Thiago de Arruda
2014-05-23 15:49:48 -03:00
parent 1156360fe7
commit 9815688fbd
5 changed files with 8 additions and 9 deletions

View File

@@ -10,7 +10,7 @@
WindowArray tabpage_get_windows(Tabpage tabpage, Error *err)
{
WindowArray rv = {.size = 0};
WindowArray rv = ARRAY_DICT_INIT;
tabpage_T *tab = find_tab(tabpage, err);
if (!tab) {