aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-07-23 12:53:07 +0200
committerThomas White <taw@physics.org>2021-07-23 12:53:07 +0200
commit9432ce40469f10ddb869391f684351c3292c3a19 (patch)
tree209b622f9a1b11613c7332992f00aa20a3ead05b /libcrystfel/src
parentfb37058a6057c084d94c66cbcd2b88d7dde1cb5e (diff)
stream_make_index: Remove unused assignment
Diffstat (limited to 'libcrystfel/src')
-rw-r--r--libcrystfel/src/stream.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c
index da1e608c..d0dbe540 100644
--- a/libcrystfel/src/stream.c
+++ b/libcrystfel/src/stream.c
@@ -1618,10 +1618,7 @@ StreamIndex *stream_make_index(const char *filename)
pos = ftell(fh);
rval = fgets(line, 1024, fh);
- if ( rval == NULL ) {
- done = 1;
- break;
- }
+ if ( rval == NULL ) break;
chomp(line);
if ( strcmp(line, STREAM_CHUNK_START_MARKER) == 0 ) {