s/GA_EMPTY/GA_EMPTY_INIT_VALUE/

I'm about to implement a `GA_EMPTY` macro that checks if the GA is empty or not.
This commit is contained in:
Felipe Oliveira Carvalho 2014-05-07 18:10:57 -03:00 committed by Thiago de Arruda
parent 5f795225dc
commit 659cd0e99a
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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);
/*