From 8a16dafb9a3972c319d834ae98abe9d1f817a403 Mon Sep 17 00:00:00 2001 From: "zhanyong.wan" Date: Wed, 26 Aug 2009 17:44:38 +0000 Subject: Fixes an uninitialized field in class OsStackTraceGetter. git-svn-id: http://googletest.googlecode.com/svn/trunk@297 861a406c-534a-0410-8894-cb66d6ee9925 --- src/gtest-internal-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gtest-internal-inl.h b/src/gtest-internal-inl.h index 189852e..8431971 100644 --- a/src/gtest-internal-inl.h +++ b/src/gtest-internal-inl.h @@ -606,7 +606,7 @@ class OsStackTraceGetterInterface { // A working implementation of the OsStackTraceGetterInterface interface. class OsStackTraceGetter : public OsStackTraceGetterInterface { public: - OsStackTraceGetter() {} + OsStackTraceGetter() : caller_frame_(NULL) {} virtual String CurrentStackTrace(int max_depth, int skip_count); virtual void UponLeavingGTest(); -- cgit v1.2.1