From 8e45dfe2c6ffff26417d7c43120e1f4a23ba3cac Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Fri, 29 Jan 2010 14:31:39 -0800 Subject: CID-334 Checker: UNINIT_CTOR Function: LLStateMachine::LLStateMachine() File: /indra/llcharacter/llstatemachine.cpp --- indra/llcharacter/llstatemachine.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'indra/llcharacter/llstatemachine.cpp') diff --git a/indra/llcharacter/llstatemachine.cpp b/indra/llcharacter/llstatemachine.cpp index 73c6951211..f4eb59b0f2 100644 --- a/indra/llcharacter/llstatemachine.cpp +++ b/indra/llcharacter/llstatemachine.cpp @@ -305,6 +305,7 @@ LLStateMachine::LLStateMachine() // we haven't received a starting state yet mCurrentState = NULL; mLastState = NULL; + mLastTransition = NULL; mStateDiagram = NULL; } -- cgit v1.2.3 From 0faac6bd1492575dc1f82c916cd9a8a8d6bdb797 Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Fri, 29 Jan 2010 14:32:35 -0800 Subject: CID-333 Checker: UNINIT_CTOR Function: LLStateDiagram::LLStateDiagram() File: /indra/llcharacter/llstatemachine.cpp --- indra/llcharacter/llstatemachine.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'indra/llcharacter/llstatemachine.cpp') diff --git a/indra/llcharacter/llstatemachine.cpp b/indra/llcharacter/llstatemachine.cpp index f4eb59b0f2..e6fa4d7985 100644 --- a/indra/llcharacter/llstatemachine.cpp +++ b/indra/llcharacter/llstatemachine.cpp @@ -54,6 +54,7 @@ bool operator!=(const LLUniqueID &a, const LLUniqueID &b) //----------------------------------------------------------------------------- LLStateDiagram::LLStateDiagram() { + mDefaultState = NULL; mUseDefaultState = FALSE; } -- cgit v1.2.3