[llvm-commits] [llvm] r115107 - /llvm/trunk/lib/AsmParser/LLParser.cpp

Nick Lewycky nicholas at mxc.ca
Wed Sep 29 16:32:20 PDT 2010


Author: nicholas
Date: Wed Sep 29 18:32:20 2010
New Revision: 115107

URL: http://llvm.org/viewvc/llvm-project?rev=115107&view=rev
Log:
Silence compiler warning.

Modified:
    llvm/trunk/lib/AsmParser/LLParser.cpp

Modified: llvm/trunk/lib/AsmParser/LLParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/LLParser.cpp?rev=115107&r1=115106&r2=115107&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/LLParser.cpp (original)
+++ llvm/trunk/lib/AsmParser/LLParser.cpp Wed Sep 29 18:32:20 2010
@@ -1248,7 +1248,7 @@
       AteExtraComma = true;
       return false;
     }
-    unsigned Idx;
+    unsigned Idx = 0;
     if (ParseUInt32(Idx)) return true;
     Indices.push_back(Idx);
   }





More information about the llvm-commits mailing list