From afe6da57ca4bc5cd605745e04374c664b344d94f Mon Sep 17 00:00:00 2001 From: Stephan Witt Date: Tue, 18 Feb 2020 08:55:00 +0100 Subject: [PATCH] Remove useless assignment to a local variables never read later. --- src/lyxfind.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp index fa00b88074..f4bf76b64f 100644 --- a/src/lyxfind.cpp +++ b/src/lyxfind.cpp @@ -3419,7 +3419,6 @@ int findForwardAdv(DocIterator & cur, MatchStringAdv & match) else { if (++match_len_zero_count > 3) { LYXERR(Debug::FIND, "match_len2_zero_count: " << match_len_zero_count << ", match_len was " << match_len); - match_len_zero_count = 0; } break; } -- 2.39.5