From f2f44dfce609b7f5b228e61829d454b5c8c2734a Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Thu, 14 Mar 2024 19:38:21 +0100 Subject: more static analysis fixes --- src/import.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/import.cpp') diff --git a/src/import.cpp b/src/import.cpp index ffa187d..29f0ff9 100644 --- a/src/import.cpp +++ b/src/import.cpp @@ -67,6 +67,7 @@ static bool _ts_import_csv_v1(ts_search_result* result, FILE *read_file) { // New match within current_file if (current_file && sscanf(line_buffer, "MATCH,%u,%zu,%zu\n", &match.line_nr, &match.word_match_length, &match.word_match_offset) == 3) { match.file = current_file; + match.file->match_count++; utf8_int8_t* iter = line_buffer; int count = 0; -- cgit v1.2.3-70-g09d2