diff --git a/indra/llcorehttp/_httppolicy.cpp b/indra/llcorehttp/_httppolicy.cpp
index 371794e63fdf58ddb2094d1ec2d976e2022a6d4b..85ca3108e438877a1a588062bbf9532f230242f8 100644
--- a/indra/llcorehttp/_httppolicy.cpp
+++ b/indra/llcorehttp/_httppolicy.cpp
@@ -162,12 +162,16 @@ void HttpPolicy::retryOp(const HttpOpRequest::ptr_t &op)
 	// mPolicyRetries limited to 100
 	U32 delta_factor = op->mPolicyRetries <= 10 ? 1 << op->mPolicyRetries : 1024;
 	HttpTime delta = llmin(delta_min * delta_factor, delta_max);
+#if SHOW_DEBUG
 	bool external_delta(false);
+#endif
 
 	if (op->mReplyRetryAfter > 0 && op->mReplyRetryAfter < 30)
 	{
 		delta = op->mReplyRetryAfter * U64L(1000000);
+#if SHOW_DEBUG
 		external_delta = true;
+#endif
 	}
 	op->mPolicyRetryAt = now + delta;
 	++op->mPolicyRetries;
diff --git a/indra/llcorehttp/httpcommon.cpp b/indra/llcorehttp/httpcommon.cpp
index 457fafd0f7ac2f7d22599ab8adb59c76ff8a1747..eb4bb2a392aa9d82553c47159c5bdc56af7532e1 100644
--- a/indra/llcorehttp/httpcommon.cpp
+++ b/indra/llcorehttp/httpcommon.cpp
@@ -47,10 +47,6 @@
 namespace LLCore
 {
 
-HttpStatus::type_enum_t EXT_CURL_EASY;
-HttpStatus::type_enum_t EXT_CURL_MULTI;
-HttpStatus::type_enum_t LLCORE;
-
 HttpStatus::operator U32() const
 {
 	// Effectively, concatenate mType (high) with mStatus (low).
diff --git a/indra/llcorehttp/httpcommon.h b/indra/llcorehttp/httpcommon.h
index 01df4f934d04db6298e9c87767599fcf9f60213c..724375901295184e6991054faeb6c81465d2a8fe 100644
--- a/indra/llcorehttp/httpcommon.h
+++ b/indra/llcorehttp/httpcommon.h
@@ -299,7 +299,7 @@ enum HttpError
 struct HttpStatus
 {
 	typedef unsigned short type_enum_t;
-	enum : type_enum_t
+	enum EType : type_enum_t
 	{
 		EXT_CURL_EASY = 0,  ///< mStatus is an error from a curl_easy_*() call
 		EXT_CURL_MULTI = 1, ///< mStatus is an error from a curl_multi_*() call
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index 64c9be7188de309d94578fd1648da0668abb0806..2758ddf13dcbef829f48d28ca206184649a26b56 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -2724,11 +2724,11 @@ void LLIMMgr::addMessage(
 
 	//*NOTE session_name is empty in case of incoming P2P sessions
 	std::string fixed_session_name = from;
-	bool name_is_setted = false;
+//	bool name_is_setted = false;
 	if(!session_name.empty() && session_name.size()>1)
 	{
 		fixed_session_name = session_name;
-		name_is_setted = true;
+//		name_is_setted = true;
 	}
 //	bool skip_message = false;
 //	bool from_linden = LLMuteList::getInstance()->isLinden(from);