Skip to content

Commit

Permalink
Initialize variable in PPCTableOfConstants
Browse files Browse the repository at this point in the history
Signed-off-by: Ishita Ray <ishita.ray@ibm.com>
  • Loading branch information
ishitaR88 committed Oct 4, 2024
1 parent 002c25e commit 4fee25b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/p/codegen/PPCTableOfConstants.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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())
{
Expand Down

0 comments on commit 4fee25b

Please sign in to comment.