فهرست منبع

[mir] Fix uninitialized variable in r349035 noticed by clang-atom-d525-fedora-rel and 3 other bots



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349043 91177308-0d34-0410-b5e6-96231b3b80d8
Daniel Sanders 6 سال پیش
والد
کامیت
a20dcc7643
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      lib/CodeGen/MIRParser/MIParser.cpp

+ 1 - 1
lib/CodeGen/MIRParser/MIParser.cpp

@@ -1701,7 +1701,7 @@ bool MIParser::parseDILocation(MDNode *&Loc) {
   unsigned Column = 0;
   MDNode *Scope = nullptr;
   MDNode *InlinedAt = nullptr;
-  bool ImplicitCode;
+  bool ImplicitCode = false;
 
   if (expectAndConsume(MIToken::lparen))
     return true;