diff options
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/stream.c | 5 |
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 ) { |