[LyX/master] Remove useless assignment to a local variables never read later.
Stephan Witt
switt at lyx.org
Tue Feb 18 07:36:23 UTC 2020
commit 225de7830e1f02256b5f3fa2c629a362b8b828b8
Author: Stephan Witt <switt at lyx.org>
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;
}
More information about the lyx-cvs
mailing list