mirror of https://github.com/acidanthera/audk.git
BaseTools/PeCoffLoaderEx: Remove the unused local variable
BZ:2864 GCC build fails due to variable self assignment. This local variable is not used at any where, we can just remove it. Signed-off-by: Abner Chang <abner.chang@hpe.com> Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Daniel Schaefer <daniel.schaefer@hpe.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
parent
744ad444e5
commit
e848b58d7c
|
@ -127,10 +127,7 @@ PeCoffLoaderRelocateRiscVImage (
|
|||
{
|
||||
UINT32 Value;
|
||||
UINT32 Value2;
|
||||
UINT32 OrgValue;
|
||||
|
||||
OrgValue = *(UINT32 *) Fixup;
|
||||
OrgValue = OrgValue;
|
||||
switch ((*Reloc) >> 12) {
|
||||
case EFI_IMAGE_REL_BASED_RISCV_HI20:
|
||||
RiscVHi20Fixup = (UINT32 *) Fixup;
|
||||
|
|
Loading…
Reference in New Issue