From 3352fbab86aa669453c9d39cb1581dd229d20af3 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 2 Apr 2008 20:44:27 +0000 Subject: [PATCH] Fix initialization bug. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49115 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Analysis/PathDiagnostic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/clang/Analysis/PathDiagnostic.h b/include/clang/Analysis/PathDiagnostic.h index 2d66ba3df5..cfca94b4ca 100644 --- a/include/clang/Analysis/PathDiagnostic.h +++ b/include/clang/Analysis/PathDiagnostic.h @@ -68,8 +68,8 @@ class PathDiagnostic { public: PathDiagnostic() : Size(0) {} - PathDiagnostic(const char* desc) : Desc(desc) {} - PathDiagnostic(const std::string& desc) : Desc(desc) {} + PathDiagnostic(const char* desc) : Size(0), Desc(desc) {} + PathDiagnostic(const std::string& desc) : Size(0), Desc(desc) {} ~PathDiagnostic(); -- 2.50.1