]> git.lyx.org Git - lyx.git/commitdiff
Initialize members correctly.
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 22 Jan 2024 10:20:06 +0000 (11:20 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 22 Jan 2024 10:20:36 +0000 (11:20 +0100)
Spotted by coverity.

src/insets/InsetIndex.cpp

index 4227252093150fc7806be77ae72f99263f040f1d..c7e88f0cd26017a6ec2e785a5959092fbd06a879 100644 (file)
@@ -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_;