From 1da9ceefa5994624c9264431e7f65f85d2bd49ec Mon Sep 17 00:00:00 2001 From: "zhanyong.wan" Date: Wed, 26 Aug 2009 17:44:38 +0000 Subject: [PATCH] Fixes an uninitialized field in class OsStackTraceGetter. --- 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 189852e6..84319713 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();