]> git.lyx.org Git - features.git/commitdiff
Remove useless assignment to a local variables never read later.
authorStephan Witt <switt@lyx.org>
Tue, 18 Feb 2020 07:55:00 +0000 (08:55 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:52 +0000 (15:48 +0200)
src/lyxfind.cpp

index fa00b880743aa6092805d58766cf801f382583be..f4bf76b64f5da25b3ed1260f9e169e7a4a3f1e46 100644 (file)
@@ -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;
                                }