From a4a88f66ccda0043f4affa6cb409e7c739c6dcf3 Mon Sep 17 00:00:00 2001 From: Nicky Dasmijn Date: Sun, 14 Jun 2020 20:43:12 +0200 Subject: [PATCH] Remove superfluous nullptr check. --- indra/newview/aoengine.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/indra/newview/aoengine.cpp b/indra/newview/aoengine.cpp index 37123fc828..424af81590 100644 --- a/indra/newview/aoengine.cpp +++ b/indra/newview/aoengine.cpp @@ -1910,11 +1910,6 @@ BOOL AOEngine::importNotecard(const LLInventoryItem* item) if (item->getAssetUUID().notNull()) { mImportSet = new AOSet(item->getParentUUID()); - if (!mImportSet) - { - LLNotificationsUtil::add("AOImportCreateSetFailed", LLSD()); - return FALSE; - } mImportSet->setName(item->getName()); LLUUID* newUUID = new LLUUID(item->getAssetUUID());