From 7541e784d991888d6f600f4cb9439d5fcf15e452 Mon Sep 17 00:00:00 2001 From: Nat Goodspeed <nat@lindenlab.com> Date: Tue, 22 Oct 2019 20:48:36 -0400 Subject: [PATCH] DRTVWR-476: Don't name the caught exception unless we're going to reference it. --- indra/llcommon/lleventcoro.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llcommon/lleventcoro.cpp b/indra/llcommon/lleventcoro.cpp index 23e0012a1a2..967c4d74d8c 100644 --- a/indra/llcommon/lleventcoro.cpp +++ b/indra/llcommon/lleventcoro.cpp @@ -172,7 +172,7 @@ postAndSuspendSetup(const std::string& callerName, std::make_exception_ptr( LLCoros::Stopping("status " + statsd.asString()))); } - catch (const boost::fibers::promise_already_satisfied& exc) + catch (const boost::fibers::promise_already_satisfied&) { LL_WARNS("lleventcoro") << listenerName << " couldn't throw Stopping " -- GitLab