diff --git a/indra/newview/lloutfitgallery.cpp b/indra/newview/lloutfitgallery.cpp
index 48e78b62af5896ad479d468b13a9f63c60016ae5..c301f5d57005e893f454c915474f78e7ea4fcd2e 100644
--- a/indra/newview/lloutfitgallery.cpp
+++ b/indra/newview/lloutfitgallery.cpp
@@ -46,7 +46,6 @@
 #include "llwearableitemslist.h"
 
 static LLPanelInjector<LLOutfitGallery> t_outfit_gallery("outfit_gallery");
-static LLOutfitGallery* gOutfitGallery = NULL;
 
 LLOutfitGallery::LLOutfitGallery(const LLOutfitGallery::Params& p)
     : LLOutfitListBase(),
diff --git a/indra/newview/lloutfitgallery.h b/indra/newview/lloutfitgallery.h
index dfb100bd43de00d230594e176c37925bf969d246..97b80acd196032da48b4140929517553afd01f39 100644
--- a/indra/newview/lloutfitgallery.h
+++ b/indra/newview/lloutfitgallery.h
@@ -179,8 +179,6 @@ class LLOutfitGallery : public LLOutfitListBase
     LLInventoryCategoriesObserver* 	mOutfitsObserver;
 };
 
-//static LLOutfitGallery* gOutfitGallery;
-
 class LLOutfitGalleryGearMenu : public LLOutfitListGearMenuBase
 {
 public: