summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2023-10-04 14:19:44 -0400
committerNat Goodspeed <nat@lindenlab.com>2023-10-04 14:19:44 -0400
commit59cd3f48b00b408e354cd39c0f6e966912ba628f (patch)
treed083a6c2288dbb807622fc81fb4234ac69c688ea /indra/newview
parentc26123e11f576a43a3bbe3125e86814038096f74 (diff)
SL-18837: Fix set-but-unreferenced in LLInventoryGallery::startDrag()
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llinventorygallery.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llinventorygallery.cpp b/indra/newview/llinventorygallery.cpp
index 4838ba7a47..845ea01f56 100644
--- a/indra/newview/llinventorygallery.cpp
+++ b/indra/newview/llinventorygallery.cpp
@@ -2420,6 +2420,8 @@ void LLInventoryGallery::startDrag()
ids.push_back(selected_id);
}
}
+ // We must have set this for some reason, but it's causing compile errors
+ (void)src;
LLToolDragAndDrop::getInstance()->beginMultiDrag(types, ids, LLToolDragAndDrop::SOURCE_AGENT);
}