From c5521b404a909bccbbad511b5f7db71a3b294404 Mon Sep 17 00:00:00 2001 From: chanayane Date: Wed, 29 Jan 2025 22:00:45 +0100 Subject: [PATCH] aoengine.cpp: fix useless use of pointer --- indra/newview/aoengine.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/indra/newview/aoengine.cpp b/indra/newview/aoengine.cpp index ef6550ba0e..f30383d483 100644 --- a/indra/newview/aoengine.cpp +++ b/indra/newview/aoengine.cpp @@ -1027,8 +1027,7 @@ void AOEngine::playAnimation(const LLUUID& animation) U32 idx = -1; for (U32 i = 0; i < state->mAnimations.size(); i++) { - LLUUID* id = &(state->mAnimations[i].mAssetUUID); - if (*id == newAnimation) + if (state->mAnimations[i].mAssetUUID == newAnimation) { idx = i; break;