From 3a938cc0fdcafb38d4b8495435e2a89c8c02882c Mon Sep 17 00:00:00 2001 From: Feng Gao Date: Wed, 24 Feb 2021 15:35:17 -0800 Subject: [PATCH] Fix a warning: 'ex' unreferenced local variable --- src/easylogging++.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/easylogging++.cc b/src/easylogging++.cc index 4a8d92731..0e51b7e30 100644 --- a/src/easylogging++.cc +++ b/src/easylogging++.cc @@ -2654,7 +2654,7 @@ void Writer::triggerDispatch(void) { } m_proceed = false; } - catch(std::exception & ex){ + catch(std::exception & /*ex*/){ // Extremely low memory situation; don't let exception be unhandled. } }