1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 11:08:02 -06:00

Static Code Analysis: Correctly initialize variables to avoid false-positive detection in the boot code.

This commit is contained in:
Mounir IDRASSI
2014-07-14 17:02:16 +02:00
parent 3137d36d9a
commit f3625a080f
2 changed files with 3 additions and 3 deletions

View File

@@ -74,7 +74,7 @@ BiosResult ReadEncryptedSectors (uint16 destSegment, uint16 destOffset, byte dri
BiosResult WriteEncryptedSectors (uint16 sourceSegment, uint16 sourceOffset, byte drive, uint64 sector, uint16 sectorCount)
{
BiosResult result;
BiosResult result = BiosResultSuccess;
AcquireSectorBuffer();
uint64 dataUnitNo;
uint64 writeOffset;