VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Driver/EncryptedIoQueue.c
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2021-01-01 23:59:37 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2021-01-02 01:16:40 +0100
commit3281b276b65912f0a6c265fb6f150f815b528937 (patch)
treea54de65af0d1a67b60b41378b362b2cfb93952ea /src/Driver/EncryptedIoQueue.c
parent9881744c95737264c7cd9f13b3c70042c03584aa (diff)
downloadVeraCrypt-3281b276b65912f0a6c265fb6f150f815b528937.tar.gz
VeraCrypt-3281b276b65912f0a6c265fb6f150f815b528937.zip
Windows: Fix various warnings
Diffstat (limited to 'src/Driver/EncryptedIoQueue.c')
-rw-r--r--src/Driver/EncryptedIoQueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Driver/EncryptedIoQueue.c b/src/Driver/EncryptedIoQueue.c
index 6f1d3777..85b9a330 100644
--- a/src/Driver/EncryptedIoQueue.c
+++ b/src/Driver/EncryptedIoQueue.c
@@ -398,7 +398,7 @@ static VOID IoThreadProc (PVOID threadArg)
for (subFragment = 0 ; subFragment < 3; ++subFragment)
{
LARGE_INTEGER subFragmentOffset;
- ULONG subFragmentLength;
+ ULONG subFragmentLength = 0;
subFragmentOffset.QuadPart = request->Offset.QuadPart;
switch (subFragment)