From f0ee8af8ae832fc01aa5c79898efc72b822e40af Mon Sep 17 00:00:00 2001 From: Loren Shih Date: Mon, 1 Feb 2010 13:46:22 -0500 Subject: EXT-4816 : Fix coverty whine on break statement fallthrough Can't fix the whine, but added a comment that the fallthrough is deliberate. --- indra/newview/llinventorybridge.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index e04d3ec5a0..e8a4899a0b 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -4634,6 +4634,7 @@ void LLWearableBridge::buildContextMenu(LLMenuGL& menu, U32 flags) { case LLAssetType::AT_CLOTHING: items.push_back(std::string("Take Off")); + // Fallthrough since clothing and bodypart share wear options case LLAssetType::AT_BODYPART: if (get_is_item_worn(item->getUUID())) { -- cgit v1.2.3