diff options
author | Chris Lattner <sabre@nondot.org> | 2009-04-19 06:50:29 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-04-19 06:50:29 +0000 |
commit | adb1a6fae75a70bc4572ea1188612e2f9f78bd5e (patch) | |
tree | 3f41a5ce6c42be812d1a0f3550a8742d0baf9803 /lib/CodeGen/CGDebugInfo.cpp | |
parent | b7b58b1fcd3007730fd46471583543c9b57c7693 (diff) |
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
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 = "<unknown>"; SourceManager &SM = M->getContext().getSourceManager(); - unsigned FID; + unsigned FID = 0; if (Loc.isValid()) { PresumedLoc PLoc = SM.getPresumedLoc(Loc); FileName = PLoc.getFilename(); |