X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=ShellPkg%2FLibrary%2FBaseFileHandleLib%2FBaseFileHandleLib.c;h=8c4cc03fc1845c7091607d10986f51a304a28d6b;hp=4b2ffb9d95787a2d74f30d04d4090079de7f7741;hb=d54744cd6c544e544c02fd75b20cff73fd865258;hpb=70575d12a9fe1451e27f43e73b0848665c6f9d8c diff --git a/ShellPkg/Library/BaseFileHandleLib/BaseFileHandleLib.c b/ShellPkg/Library/BaseFileHandleLib/BaseFileHandleLib.c index 4b2ffb9d95..8c4cc03fc1 100644 --- a/ShellPkg/Library/BaseFileHandleLib/BaseFileHandleLib.c +++ b/ShellPkg/Library/BaseFileHandleLib/BaseFileHandleLib.c @@ -1073,7 +1073,11 @@ FileHandleEof( return (FALSE); } - RetVal = (Pos == Info->FileSize)?TRUE:FALSE; + if (Pos == Info->FileSize) { + RetVal = TRUE; + } else { + RetVal = FALSE; + } FreePool (Info);