From 4f795bd3099c9d0133e1bc0d9d2956cc09462f8e Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 9 Jun 2016 16:25:02 +0200 Subject: [PATCH] Initialize LyXModule::available_ in constructor Found by Coverity. --- src/ModuleList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ModuleList.cpp b/src/ModuleList.cpp index d442d204a5..89b2aa9309 100644 --- a/src/ModuleList.cpp +++ b/src/ModuleList.cpp @@ -40,7 +40,7 @@ LyXModule::LyXModule(string const & n, string const & i, string const & c): name_(n), id_(i), description_(d), package_list_(p), required_modules_(r), excluded_modules_(e), category_(c), - checked_(false) + checked_(false), available_(false) { filename_ = id_ + ".module"; }