[cfe-commits] r69517 - /cfe/trunk/lib/CodeGen/CGDebugInfo.cpp

Chris Lattner sabre at nondot.org
Sat Apr 18 23:50:29 PDT 2009


Author: lattner
Date: Sun Apr 19 01:50:29 2009
New Revision: 69517

URL: http://llvm.org/viewvc/llvm-project?rev=69517&view=rev
Log:
silence a warning, I need to talk to Devang about this code.

Modified:
    cfe/trunk/lib/CodeGen/CGDebugInfo.cpp

Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=69517&r1=69516&r2=69517&view=diff

==============================================================================
--- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Sun Apr 19 01:50:29 2009
@@ -52,7 +52,7 @@
   // Get source file information.
   const char *FileName =  "<unknown>";
   SourceManager &SM = M->getContext().getSourceManager();
-  unsigned FID;
+  unsigned FID = 0;
   if (Loc.isValid()) {
     PresumedLoc PLoc = SM.getPresumedLoc(Loc);
     FileName = PLoc.getFilename();





More information about the cfe-commits mailing list