Shut up an uninitialized variable warning.

This commit is contained in:
Michael Sullivan 2011-08-18 18:16:45 -07:00
parent 30b5f851c5
commit c11f8a468b
1 changed files with 1 additions and 1 deletions

View File

@ -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.