From 9432ce40469f10ddb869391f684351c3292c3a19 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 23 Jul 2021 12:53:07 +0200 Subject: stream_make_index: Remove unused assignment --- libcrystfel/src/stream.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libcrystfel/src') 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 ) { -- cgit v1.2.3