diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-04-20 18:16:57 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-04-20 18:16:57 +0100 |
commit | 42cbea759cddb231d790fa161412774550681d20 (patch) | |
tree | e03950918e3669ce30b64e62900fdb4bd72d2dbf /indra | |
parent | 5952fbca316ba1d1e4243bf5ebd6dc647e4957f4 (diff) |
CID-462
Checker: DEADCODE
Function: LLAssetStorage::findInStaticVFSAndInvokeCallback(const LLUUID &, LLAssetType::EType, void (*)(LLVFS *, const LLUUID &, LLAssetType::EType, void *, int, int), void *)
File: /indra/llmessage/llassetstorage.cpp
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llmessage/llassetstorage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llmessage/llassetstorage.cpp b/indra/llmessage/llassetstorage.cpp index 20d71c6903..bf0ed97143 100644 --- a/indra/llmessage/llassetstorage.cpp +++ b/indra/llmessage/llassetstorage.cpp @@ -408,8 +408,8 @@ bool LLAssetStorage::findInStaticVFSAndInvokeCallback(const LLUUID& uuid, LLAsse if (exists) { LLVFile file(mStaticVFS, uuid, type); - U32 size = exists ? file.getSize() : 0; - if (size>0) + U32 size = file.getSize(); + if (size > 0) { // we've already got the file if (callback) |