aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/garray.h2
-rw-r--r--src/nvim/tag.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/garray.h b/src/nvim/garray.h
index 4ffd5879fe..be858dffb0 100644
--- a/src/nvim/garray.h
+++ b/src/nvim/garray.h
@@ -14,7 +14,7 @@ typedef struct growarray {
void *ga_data; // pointer to the first item
} garray_T;
-#define GA_EMPTY { 0, 0, 0, 0, NULL }
+#define GA_EMPTY_INIT_VALUE { 0, 0, 0, 0, NULL }
void ga_clear(garray_T *gap);
void ga_clear_strings(garray_T *gap);
diff --git a/src/nvim/tag.c b/src/nvim/tag.c
index aa553f9b24..0e01350537 100644
--- a/src/nvim/tag.c
+++ b/src/nvim/tag.c
@@ -2019,7 +2019,7 @@ findtag_end:
return retval;
}
-static garray_T tag_fnames = GA_EMPTY;
+static garray_T tag_fnames = GA_EMPTY_INIT_VALUE;
static void found_tagfile_cb(char_u *fname, void *cookie);
/*