From f19cfb336150358214572a35ebe6c97c4975d6a0 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Wed, 9 Jul 2014 02:01:57 +0200 Subject: Static Code Analysis : Correctly initialize member variables in various constructors --- src/Common/BootEncryption.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Common/BootEncryption.h') diff --git a/src/Common/BootEncryption.h b/src/Common/BootEncryption.h index 16e42e11..88830988 100644 --- a/src/Common/BootEncryption.h +++ b/src/Common/BootEncryption.h @@ -22,7 +22,7 @@ namespace VeraCrypt class File { public: - File () : FileOpen (false) { } + File () : Elevated (false), FileOpen (false), FilePointerPosition(0), Handle(NULL), IsDevice(false) { } File (string path, bool readOnly = false, bool create = false); ~File () { Close(); } -- cgit v1.2.3