diff --git a/indra/newview/lltexturecache.cpp b/indra/newview/lltexturecache.cpp
index 9bf9c928153b0ba526a78995a27140c7cfd15546..df79725474babf648849f57145dd493f7976ed3b 100644
--- a/indra/newview/lltexturecache.cpp
+++ b/indra/newview/lltexturecache.cpp
@@ -743,7 +743,6 @@ LLTextureCache::LLTextureCache(bool threaded)
 	  mListMutex(NULL),
 	  mHeaderAPRFile(NULL),
 	  mReadOnly(TRUE), //do not allow to change the texture cache until setReadOnly() is called.
-	  mReadOnly(TRUE), //do not allow to change the texture cache until setReadOnly() is called.
 	  mTexturesSizeTotal(0),
 	  mDoPurge(FALSE)
 {