[LyX/master] Proper initialization of private member bv_ of GuiSearchWidget

Stephan Witt switt at lyx.org
Sun Feb 14 17:53:12 UTC 2021


commit 0bd9a8be3d3f0b53b1488494b286f273381b4b19
Author: Stephan Witt <switt at lyx.org>
Date:   Sun Feb 14 18:48:27 2021 +0100

    Proper initialization of private member bv_ of GuiSearchWidget
---
 src/frontends/qt/GuiSearch.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/frontends/qt/GuiSearch.h b/src/frontends/qt/GuiSearch.h
index e0d5b12..b74f9f0 100644
--- a/src/frontends/qt/GuiSearch.h
+++ b/src/frontends/qt/GuiSearch.h
@@ -65,7 +65,7 @@ private:
 		     bool casesensitive, bool matchword,
 		     bool forward, bool all);
 	///
-	BufferView const * bv_;
+	BufferView const * bv_ = {};
 	///
 	bool minimized_ = false;
 };


More information about the lyx-cvs mailing list