diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/index.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/index.c b/src/index.c index da4a5a31..862f5145 100644 --- a/src/index.c +++ b/src/index.c @@ -238,6 +238,9 @@ IndexingMethod *build_indexer_list(const char *str, int *need_cell) int n, i; char **methods; IndexingMethod *list; + int tmp; + + if ( need_cell == NULL ) need_cell = &tmp; *need_cell = 0; n = assplode(str, ",", &methods, ASSPLODE_NONE); |