[cfe-commits] r49115 - /cfe/trunk/include/clang/Analysis/PathDiagnostic.h

Ted Kremenek kremenek at apple.com
Wed Apr 2 13:44:27 PDT 2008


Author: kremenek
Date: Wed Apr  2 15:44:27 2008
New Revision: 49115

URL: http://llvm.org/viewvc/llvm-project?rev=49115&view=rev
Log:
Fix initialization bug.

Modified:
    cfe/trunk/include/clang/Analysis/PathDiagnostic.h

Modified: cfe/trunk/include/clang/Analysis/PathDiagnostic.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathDiagnostic.h?rev=49115&r1=49114&r2=49115&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/PathDiagnostic.h (original)
+++ cfe/trunk/include/clang/Analysis/PathDiagnostic.h Wed Apr  2 15:44:27 2008
@@ -68,8 +68,8 @@
 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();
 





More information about the cfe-commits mailing list