From: Douglas Gregor Date: Thu, 30 Jul 2009 16:10:26 +0000 (+0000) Subject: Initialize an otherwise-wild pointer. Fixes a crashy analyzer X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17edea8b0befb10066f7c6f5b01469d2fb679c9b;p=clang Initialize an otherwise-wild pointer. Fixes a crashy analyzer git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77599 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Frontend/AnalysisConsumer.cpp b/lib/Frontend/AnalysisConsumer.cpp index 9c3274309c..6ed59b4ac2 100644 --- a/lib/Frontend/AnalysisConsumer.cpp +++ b/lib/Frontend/AnalysisConsumer.cpp @@ -96,7 +96,7 @@ namespace { const AnalyzerOptions& opts) : LOpts(lopts), Diags(diags), Ctx(0), PP(pp), PPF(ppf), - OutDir(outdir), Opts(opts) { + OutDir(outdir), Opts(opts), PD(0) { DigestAnalyzerOptions(); }