[LyX/master] Initialize members correctly.
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Mon Jan 22 08:52:38 UTC 2024
commit b08cb7fb30c2dfae0f04db9d474f22c5fbc56114
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date: Mon Jan 22 11:20:06 2024 +0100
Initialize members correctly.
Spotted by coverity.
---
src/insets/InsetIndex.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp
index 4227252..c7e88f0 100644
--- a/src/insets/InsetIndex.cpp
+++ b/src/insets/InsetIndex.cpp
@@ -1631,8 +1631,8 @@ private:
std::vector<docstring> terms_; // Up to three entries, in general.
docstring sort_as_;
docstring command_;
- bool has_start_range_;
- bool has_end_range_;
+ bool has_start_range_ = false;
+ bool has_end_range_ = false;
docstring see_;
vector<docstring> see_alsoes_;
More information about the lyx-cvs
mailing list