From: Chris Lattner Date: Sun, 19 Apr 2009 06:50:29 +0000 (+0000) Subject: silence a warning, I need to talk to Devang about this code. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=adb1a6fae75a70bc4572ea1188612e2f9f78bd5e;p=clang silence a warning, I need to talk to Devang about this code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69517 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index e7a4a45573..1c6043b7d6 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -52,7 +52,7 @@ llvm::DICompileUnit CGDebugInfo::getOrCreateCompileUnit(SourceLocation Loc) { // Get source file information. const char *FileName = ""; SourceManager &SM = M->getContext().getSourceManager(); - unsigned FID; + unsigned FID = 0; if (Loc.isValid()) { PresumedLoc PLoc = SM.getPresumedLoc(Loc); FileName = PLoc.getFilename();