VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/BootEncryption.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-07-09 02:01:57 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:20:29 +0100
commitf19cfb336150358214572a35ebe6c97c4975d6a0 (patch)
tree9e611ba28484965be19b102c203f36306f252eba /src/Common/BootEncryption.h
parent9bb962c8bbf5fffde8a884975d7108c6783ab876 (diff)
downloadVeraCrypt-f19cfb336150358214572a35ebe6c97c4975d6a0.tar.gz
VeraCrypt-f19cfb336150358214572a35ebe6c97c4975d6a0.zip
Static Code Analysis : Correctly initialize member variables in various constructors
Diffstat (limited to 'src/Common/BootEncryption.h')
-rw-r--r--src/Common/BootEncryption.h2
1 files changed, 1 insertions, 1 deletions
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(); }