aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/stream.c')
-rw-r--r--libcrystfel/src/stream.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c
index 23067c56..1a9c87cd 100644
--- a/libcrystfel/src/stream.c
+++ b/libcrystfel/src/stream.c
@@ -1570,8 +1570,7 @@ StreamIndex *stream_make_index(const char *filename)
if ( strcmp(line, STREAM_CHUNK_END_MARKER) == 0 ) {
if ( (last_start_pos != 0)
- && (last_filename != NULL)
- && (last_ev != NULL) )
+ && (last_filename != NULL) )
{
add_index_record(index,
last_start_pos,