From b133569e2f320fdb55d31dfb4e89cf3159e28beb Mon Sep 17 00:00:00 2001 From: Ishita Ray Date: Thu, 22 Aug 2024 15:10:45 -0400 Subject: [PATCH] Initialize variable in PPCTableOfConstants Signed-off-by: Ishita Ray --- compiler/p/codegen/PPCTableOfConstants.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/p/codegen/PPCTableOfConstants.cpp b/compiler/p/codegen/PPCTableOfConstants.cpp index 81798c04773..a5f67eabdcb 100644 --- a/compiler/p/codegen/PPCTableOfConstants.cpp +++ b/compiler/p/codegen/PPCTableOfConstants.cpp @@ -499,7 +499,7 @@ int32_t TR_PPCTableOfConstants::lookUp(TR::SymbolReference *symRef, TR::CodeGene int8_t local_buffer[1024]; int8_t *name = local_buffer; bool isAddr = false; - intptr_t myTag; + intptr_t myTag=0; if (!symRef->isUnresolved() || symRef->getCPIndex()<0 || sym->isAddressOfClassObject() || sym->isConstObjectRef() || sym->isConst()) {