diff options
author | Thomas White <taw@physics.org> | 2011-05-17 15:50:38 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:27 +0100 |
commit | 1a452bc91890a03ffe58fd97ae88253ece720918 (patch) | |
tree | bb4ebf1f130efd90afe5deca508f6e2a8fdeafba /src/indexamajig.c | |
parent | b90ec67959ca72cab7a9339600eeacba37370fa8 (diff) |
Set error flag to zero
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r-- | src/indexamajig.c | 1 |
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; |