From 44f08786f435ed4284d39dc604c2a5fcbde9e602 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Mon, 26 Feb 2024 20:33:43 +0000 Subject: [PATCH] test: Fix MSVC warning C4101 "unreferenced local variable" --- src/univalue/test/object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/univalue/test/object.cpp b/src/univalue/test/object.cpp index c5f15ff474..2577c682d7 100644 --- a/src/univalue/test/object.cpp +++ b/src/univalue/test/object.cpp @@ -20,7 +20,7 @@ try { \ (stmt); \ assert(0 && "No exception caught"); \ - } catch (excMatch & e) { \ + } catch (excMatch&) { \ } catch (...) { \ assert(0 && "Wrong exception caught"); \ } \