mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-19 01:48:34 +00:00
Fix may-be-used-uninitialized warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74253 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2f90daf58c
commit
1c723b7145
@ -300,7 +300,7 @@ void PIC16DbgInfo::EmitCompositeTypeElements (DICompositeType CTy,
|
||||
// Get mangleddd name for this structure/union element.
|
||||
std::string MangMemName = ElementName + UniqueSuffix;
|
||||
PopulateDebugInfo(DITy, TypeNo, HasAux, ElementAux, TagName);
|
||||
short Class;
|
||||
short Class = 0;
|
||||
if( CTy.getTag() == dwarf::DW_TAG_union_type)
|
||||
Class = PIC16Dbg::C_MOU;
|
||||
else if (CTy.getTag() == dwarf::DW_TAG_structure_type)
|
||||
|
Loading…
Reference in New Issue
Block a user