commit 225de7830e1f02256b5f3fa2c629a362b8b828b8
Author: Stephan Witt <[email protected]>
Date:   Tue Feb 18 08:55:00 2020 +0100

    Remove useless assignment to a local variables never read later.
---
 src/lyxfind.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp
index fa00b88..f4bf76b 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;
                                }
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to