From 1f9a5fa519ebc809a4c4770d229cc607a321b808 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 10 Mar 2004 17:18:20 +0000 Subject: [PATCH] Fix undercounting of matching segments. --- report.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/report.c b/report.c index 9570825..ffd9568 100644 --- a/report.c +++ b/report.c @@ -471,10 +471,7 @@ int line_count(const char *name) for (match = hitlist; match < hitlist + mergecount; match++) for (i=0; i < match->nmatches; i++) if (!strncmp(name, match->matches[i].file->name, strlen(name))) - { count += match->matches[i].hash.end - match->matches[i].hash.start + 1; - break; - } return(count); } -- 2.43.0