From 7800c057884f6a950bb21bce351968f50679f18c Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 9 Jun 2016 17:26:55 +0200 Subject: [PATCH] Initialize bool member of Package in default constructor Found by Coverity --- src/support/Package.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- 2.39.5