diff --git a/indra/newview/llpaneleditwearable.cpp b/indra/newview/llpaneleditwearable.cpp
index 24ce8f9c93a33be5a5ee058ee2200c0bdb7d1b7c..acc9f1ce0bf0d1aaf8f6168b1f4515609f52e299 100644
--- a/indra/newview/llpaneleditwearable.cpp
+++ b/indra/newview/llpaneleditwearable.cpp
@@ -1466,8 +1466,6 @@ LLPanel* LLPanelEditWearable::getPanel(LLWearableType::EType type)
                 default:
                         return NULL;
         }
-
-        return NULL;
 }
 
 void LLPanelEditWearable::getSortedParams(value_map_t &sorted_params, const std::string &edit_group)