summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-04-19 06:50:29 +0000
committerChris Lattner <sabre@nondot.org>2009-04-19 06:50:29 +0000
commit96adcd5e7469972c44f2ac7448471d14600e2e1f (patch)
tree6660f383db9131d51b85c82ee224f672a8a6c1f3 /clang/lib/CodeGen
parentf2e7133d341c61e30bc7dd56308d0b2e5c6273a7 (diff)
downloadbcm5719-llvm-96adcd5e7469972c44f2ac7448471d14600e2e1f.tar.gz
bcm5719-llvm-96adcd5e7469972c44f2ac7448471d14600e2e1f.zip
silence a warning, I need to talk to Devang about this code.
llvm-svn: 69517
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index e7a4a45573c..1c6043b7d64 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/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();
OpenPOWER on IntegriCloud