diff options
author | Thomas White <taw@bitwiz.org.uk> | 2011-08-24 17:39:01 -0700 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:37 +0100 |
commit | 1091711228930b7f443909d802263333b1802549 (patch) | |
tree | 28f036d9d658f4830331e2505990609faf88af93 /src | |
parent | 4d3d0d192cbc376455a247753b886ba6d18d4216 (diff) |
Add the ability to not care about whether the unit cell is needed or not
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); |