diff --git a/indra/llcommon/llstring.cpp b/indra/llcommon/llstring.cpp
index ffdac5d411df69f4552c4b27b055561c41f56e38..1561bda2018d0539c9bce6ea5d597e44a3589a82 100644
--- a/indra/llcommon/llstring.cpp
+++ b/indra/llcommon/llstring.cpp
@@ -998,7 +998,7 @@ void LLStringUtil::formatNumber(std::string& numStr, std::string decimals)
 		try
 		{
 			strStream.imbue(std::locale(sLocale.c_str()));
-		} catch (const std::exception &e)
+		} catch (const std::exception &)
 		{
 			LL_WARNS_ONCE("Locale") << "Cannot set locale to " << sLocale << LL_ENDL;
 		}