Shut up an uninitialized variable warning.
This commit is contained in:
parent
30b5f851c5
commit
c11f8a468b
@ -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…
x
Reference in New Issue
Block a user