From 3a0f57057ef0e96dc7998a3971b29f940fa12d1a Mon Sep 17 00:00:00 2001 From: Anna Zaks Date: Wed, 14 Mar 2012 21:24:14 +0000 Subject: [PATCH] [analyzer] A fixup to r152734. Always initialize the flag. llvm-svn: 152742 --- .../clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h b/clang/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h index 1599924e4aea..950ee2f1ed79 100644 --- a/clang/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h +++ b/clang/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h @@ -388,8 +388,8 @@ public: class PathDiagnosticCallPiece : public PathDiagnosticPiece { PathDiagnosticCallPiece(const Decl *callerD, const PathDiagnosticLocation &callReturnPos) - : PathDiagnosticPiece(Call), Caller(callerD), - Callee(0), callReturn(callReturnPos) {} + : PathDiagnosticPiece(Call), Caller(callerD), Callee(0), + NoExit(false), callReturn(callReturnPos) {} PathDiagnosticCallPiece(PathPieces &oldPath, const Decl *caller) : PathDiagnosticPiece(Call), Caller(caller), Callee(0),