summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-13 09:55:01 +0000
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>2011-09-13 09:55:01 +0000
commit2a9f433bc9d885511869524a7657787ed1ab909b (patch)
treefeb2b770be2fd22d812143d00bb356e5ebe0205d
parent0a48ffb0c73a100ed3c28cb9efefa171ba62b7aa (diff)
downloadedk2-platforms-2a9f433bc9d885511869524a7657787ed1ab909b.tar.xz
ArmPkg/ArmDisassemblerLib: Comment out unused variable
'ItFlag' is set but not used. Comment out this variable for future use. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12339 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--ArmPkg/Library/ArmDisassemblerLib/ThumbDisassembler.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ArmPkg/Library/ArmDisassemblerLib/ThumbDisassembler.c b/ArmPkg/Library/ArmDisassemblerLib/ThumbDisassembler.c
index 4fdf93de5d..dfab4cc2e4 100644
--- a/ArmPkg/Library/ArmDisassemblerLib/ThumbDisassembler.c
+++ b/ArmPkg/Library/ArmDisassemblerLib/ThumbDisassembler.c
@@ -495,7 +495,7 @@ DisassembleThumbInstruction (
UINT32 Offset;
UINT16 Rd, Rn, Rm, Rt, Rt2;
BOOLEAN H1, H2, imod;
- BOOLEAN ItFlag;
+ //BOOLEAN ItFlag;
UINT32 PC, Target, msbit, lsbit;
CHAR8 *Cond;
BOOLEAN S, J1, J2, P, U, W;
@@ -521,12 +521,12 @@ DisassembleThumbInstruction (
*OpCodePtrPtr += 1;
// Manage IT Block ItFlag TRUE means we are in an IT block
- if (*ItBlock != 0) {
+ /*if (*ItBlock != 0) {
ItFlag = TRUE;
*ItBlock -= 1;
} else {
ItFlag = FALSE;
- }
+ }*/
for (Index = 0; Index < sizeof (gOpThumb)/sizeof (THUMB_INSTRUCTIONS); Index++) {
if ((OpCode & gOpThumb[Index].Mask) == gOpThumb[Index].OpCode) {