From: Jean-Marc Lasgouttes Date: Thu, 9 Jun 2016 15:26:55 +0000 (+0200) Subject: Initialize bool member of Package in default constructor X-Git-Tag: 2.3.0alpha1~1524 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7800c057884f6a950bb21bce351968f50679f18c;p=lyx.git Initialize bool member of Package in default constructor Found by Coverity --- diff --git a/src/support/Package.h b/src/support/Package.h index c7befb369e..4e5c6fa3f4 100644 --- a/src/support/Package.h +++ b/src/support/Package.h @@ -51,7 +51,7 @@ Package const & package(); class Package { public: /// Default constructor does not lead to the paths being set. - Package() {} + Package() : explicit_user_support_dir_(false), in_build_dir_(false) {} /** Called by init_package, above. * All paths will be initialized.