aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index ed6b25c2..017b91eb 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -468,6 +468,7 @@ static void finalise_image(void *qp, void *pp)
static int parse_cell_reduction(const char *scellr, int *err,
int *reduction_needs_cell)
{
+ *err = 0;
if ( strcmp(scellr, "none") == 0 ) {
*reduction_needs_cell = 0;
return CELLR_NONE;