From: Barret Rhoden Date: Mon, 03 Jun 2019 15:26:52 GMT Subject: Re: [PATCH] blame - fix some issues identified by coverage report. Message-ID: <10bbee35-4df1-1a6d-8301-6866c7445e2d@google.com> In-Reply-To: <20190601210925.15339-1-michael@platin.gs> Hi Michael - On 6/1/19 5:09 PM, michael@platin.gs wrote: > From: Michael Platings > > Thanks to Derrick Stolee for highlighting missing coverage. > > In the case of "certainties[i] = CERTAINTY_NOT_CALCULATED" this was > defeating an optimization that preserved results of calculations > between line-matching passes. This had caused other code to never > be executed - that code is now executed and only discards calculation > results that are no longer valid. > > In the case of "max_search_distance_b = 0" this was never executed > because another statement was added earlier in the function to return > early in such a case. > > Signed-off-by: Michael Platings If it's OK with you, I can squash this into your existing patch in the blame-ignore patch set. Thanks, Barret