summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorymodel.cpp
diff options
context:
space:
mode:
authorangela <angela@lindenlab.com>2009-11-11 14:34:00 +0800
committerangela <angela@lindenlab.com>2009-11-11 14:34:00 +0800
commit3cfd8a7ae8fb760fccfc992d8185db7bb37ff4ec (patch)
treec4e0781afdaf94f3e885d4af41d1c9b3e3add8a6 /indra/newview/llinventorymodel.cpp
parent37ac878ec06138e35507f0dd007556cc613ee08f (diff)
adding warning msg when fetching for folders with NULL uuid
Diffstat (limited to 'indra/newview/llinventorymodel.cpp')
-rw-r--r--indra/newview/llinventorymodel.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp
index 4b7e364cf9..e7d7eb19d0 100644
--- a/indra/newview/llinventorymodel.cpp
+++ b/indra/newview/llinventorymodel.cpp
@@ -1271,8 +1271,11 @@ void LLInventoryModel::fetchInventoryResponder::error(U32 status, const std::str
bool LLInventoryModel::fetchDescendentsOf(const LLUUID& folder_id)
{
- if(folder_id.isNull()) return false;
-
+ if(folder_id.isNull())
+ {
+ llwarns << "Calling fetch descendents on NULL folder id!" << llendl;
+ return false;
+ }
LLViewerInventoryCategory* cat = getCategory(folder_id);
if(!cat)
{