mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[FREELDR:UEFI] Fix two MSVC build warnings C4553.
In both lines 451 and 474: uefidisk.c: warning C4553: '==': result of expression not used; did you intend '='? It's "funny" that GCC builds doesn't catch those...
This commit is contained in:
parent
38e4b859e2
commit
095510bdac
1 changed files with 2 additions and 2 deletions
|
@ -448,7 +448,7 @@ UefiSetupBlockDevices(VOID)
|
||||||
/* Now only of the root drive number is equal to this drive we found above */
|
/* Now only of the root drive number is equal to this drive we found above */
|
||||||
if (InternalUefiDisk[i].UefiRootNumber == UefiBootRootIdentifier)
|
if (InternalUefiDisk[i].UefiRootNumber == UefiBootRootIdentifier)
|
||||||
{
|
{
|
||||||
InternalUefiDisk[i].IsThisTheBootDrive == TRUE;
|
InternalUefiDisk[i].IsThisTheBootDrive = TRUE;
|
||||||
PublicBootArcDisk = i;
|
PublicBootArcDisk = i;
|
||||||
TRACE("Found Boot drive\n");
|
TRACE("Found Boot drive\n");
|
||||||
}
|
}
|
||||||
|
@ -471,7 +471,7 @@ UefiSetBootpath(VOID)
|
||||||
if (bio->Media->RemovableMedia == TRUE && bio->Media->BlockSize == 2048)
|
if (bio->Media->RemovableMedia == TRUE && bio->Media->BlockSize == 2048)
|
||||||
{
|
{
|
||||||
/* Boot Partition 0xFF is the magic value that indicates booting from CD-ROM (see isoboot.S) */
|
/* Boot Partition 0xFF is the magic value that indicates booting from CD-ROM (see isoboot.S) */
|
||||||
FrldrBootPartition == 0xFF;
|
FrldrBootPartition = 0xFF;
|
||||||
RtlStringCbPrintfA(FrLdrBootPath, sizeof(FrLdrBootPath),
|
RtlStringCbPrintfA(FrLdrBootPath, sizeof(FrLdrBootPath),
|
||||||
"multi(0)disk(0)cdrom(%u)", PublicBootArcDisk);
|
"multi(0)disk(0)cdrom(%u)", PublicBootArcDisk);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue