VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Driver/Ntvol.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2020-12-11 23:40:09 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2020-12-11 23:42:14 +0100
commit21674c6aec3a5a914d48c594a538857b8bbe15ef (patch)
tree2a3efaf2ba4049a8c01c58ad86dc33dcf390ec75 /src/Driver/Ntvol.c
parentb48d437c80f8011548383a2e1ae88649a030c1ae (diff)
downloadVeraCrypt-21674c6aec3a5a914d48c594a538857b8bbe15ef.tar.gz
VeraCrypt-21674c6aec3a5a914d48c594a538857b8bbe15ef.zip
Windows: Fix various compiler warnings
Diffstat (limited to 'src/Driver/Ntvol.c')
-rw-r--r--src/Driver/Ntvol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Driver/Ntvol.c b/src/Driver/Ntvol.c
index f9e11d3d..747fc026 100644
--- a/src/Driver/Ntvol.c
+++ b/src/Driver/Ntvol.c
@@ -43,14 +43,14 @@ NTSTATUS TCOpenVolume (PDEVICE_OBJECT DeviceObject,
PWSTR pwszMountVolume,
BOOL bRawDevice)
{
- FILE_STANDARD_INFORMATION FileStandardInfo;
+ FILE_STANDARD_INFORMATION FileStandardInfo = {0};
FILE_BASIC_INFORMATION FileBasicInfo;
OBJECT_ATTRIBUTES oaFileAttributes;
UNICODE_STRING FullFileName;
IO_STATUS_BLOCK IoStatusBlock;
PCRYPTO_INFO cryptoInfoPtr = NULL;
PCRYPTO_INFO tmpCryptoInfo = NULL;
- LARGE_INTEGER lDiskLength;
+ LARGE_INTEGER lDiskLength = {0};
__int64 partitionStartingOffset = 0;
int volumeType;
char *readBuffer = 0;