[LyX/master] Initialize member

Juergen Spitzmueller spitz at lyx.org
Mon Apr 4 09:07:48 UTC 2022


commit bbf21502bf38f1435b3727e7b03915b442d2edd5
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Mon Apr 4 11:43:55 2022 +0200

    Initialize member
---
 src/lyxfind.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp
index 5ceb345..c4b6b96 100644
--- a/src/lyxfind.cpp
+++ b/src/lyxfind.cpp
@@ -1060,7 +1060,7 @@ private:
 	int close_wildcards;
 public:
 	// Are we searching with regular expressions ?
-	bool use_regexp;
+	bool use_regexp = false;
 	static int valid_matches;
 	static vector <string> matches;
 	void FillResults(MatchResult &found_mr);


More information about the lyx-cvs mailing list