From 1091711228930b7f443909d802263333b1802549 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 24 Aug 2011 17:39:01 -0700 Subject: Add the ability to not care about whether the unit cell is needed or not --- src/index.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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); -- cgit v1.2.3