From e61cabf1ce2116faa4b8dcc678cca4a8fbd2e723 Mon Sep 17 00:00:00 2001 From: Aleric Inglewood Date: Fri, 4 Apr 2014 21:13:57 +0200 Subject: [PATCH] Remove compiler warning. --- indra/llcharacter/llmotion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llcharacter/llmotion.cpp b/indra/llcharacter/llmotion.cpp index efd1ad158..526341d20 100644 --- a/indra/llcharacter/llmotion.cpp +++ b/indra/llcharacter/llmotion.cpp @@ -72,7 +72,7 @@ void AISyncClientMotion::aisync_loaded(void) AISyncKey const& key = server->key(); // The allocation of this is owned by server. // There is no need to resync if there was not another motion started at the same time and the key already expired. bool need_resync = !(server->never_synced() && key.expired()); - AISyncKey* new_key; + AISyncKey* new_key = NULL; if (need_resync) { // Create a new key using the old start time.