aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/index.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r--libcrystfel/src/index.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index 2370e26e..821be39a 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -241,7 +241,7 @@ static IndexingMethod set_axes(IndexingMethod a)
}
-IndexingMethod *build_indexer_list(const char *str, int *need_cell)
+IndexingMethod *build_indexer_list(const char *str)
{
int n, i;
char **methods;
@@ -249,9 +249,6 @@ IndexingMethod *build_indexer_list(const char *str, int *need_cell)
int tmp;
int nmeth = 0;
- if ( need_cell == NULL ) need_cell = &tmp;
- *need_cell = 0;
-
n = assplode(str, ",-", &methods, ASSPLODE_NONE);
list = malloc((n+1)*sizeof(IndexingMethod));