]> granicus.if.org Git - clang/commitdiff
[analyzer] A fixup to r152734. Always initialize the flag.
authorAnna Zaks <ganna@apple.com>
Wed, 14 Mar 2012 21:24:14 +0000 (21:24 +0000)
committerAnna Zaks <ganna@apple.com>
Wed, 14 Mar 2012 21:24:14 +0000 (21:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152742 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h

index 1599924e4aea08c68ab877a128ebec5f4fdbfe58..950ee2f1ed79ff8bde23b8c0fd3edae7b93649cd 100644 (file)
@@ -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),