Shut up an uninitialized variable warning.
This commit is contained in:
parent
30b5f851c5
commit
c11f8a468b
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ void RustGCMetadataPrinter::EmitGCMetadata(AsmPrinter &AP, MCStreamer &Out,
|
|||
|
||||
std::pair<RustGCMetaType,const Constant *> Pair =
|
||||
GetGCMetadataForRoot(Root);
|
||||
const GlobalValue *Tydesc;
|
||||
const GlobalValue *Tydesc = 0;
|
||||
|
||||
switch (Pair.first) {
|
||||
case RGCMT_DestIndex: // Dest index.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue