From 225de7830e1f02256b5f3fa2c629a362b8b828b8 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; }