mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 11:31:40 +00:00
[FASTFAT]: Fix an "error C4700: uninitialized local variable 'Entry' used" that is caught by MSVC 2010 (that pointed out a genuine bug), but mysteriously unseen by MSVC 2012+, who knows why...
svn path=/trunk/; revision=74156
This commit is contained in:
parent
82ed3d127f
commit
89e9101a9b
1 changed files with 5 additions and 2 deletions
|
@ -417,9 +417,12 @@ ReadVolumeLabel(
|
|||
Status = VfatReadDisk(DeviceObject, &FileOffset, PAGE_SIZE, (PUCHAR)Buffer, TRUE);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
ExFreePoolWithTag(Entry, TAG_VFAT);
|
||||
ExFreePoolWithTag(Buffer, TAG_VFAT);
|
||||
}
|
||||
else
|
||||
{
|
||||
Entry = Buffer;
|
||||
}
|
||||
Entry = Buffer;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue