OcAppleKernelLib: Fix variable initialisation
@@ -819,6 +819,7 @@ InternalRelocateRelocation (
Length = Relocation->Size;
Type = (UINT8) Relocation->Type;
PcRelative = (Relocation->PcRelative != 0);
+ PairTarget = 0;
InvalidPcRel = FALSE;
ScatteredRelocation = NULL;
@@ -874,7 +875,9 @@ InternalRelocateRelocation (
}
}
+ //
// Length == 2
+ //
if (Length != 3) {
CopyMem (&Instruction32, InstructionPtr, sizeof (Instruction32));
