aboutsummaryrefslogtreecommitdiff
path: root/src/univalue
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2024-02-26 20:33:43 +0000
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2024-07-16 22:40:25 +0100
commit44f08786f435ed4284d39dc604c2a5fcbde9e602 (patch)
tree19f58e30bc26d03da867d4e359e427127884cc82 /src/univalue
parent5d25a82b9a5e54f74cc066599541bc1d3da70988 (diff)
test: Fix MSVC warning C4101 "unreferenced local variable"
Diffstat (limited to 'src/univalue')
-rw-r--r--src/univalue/test/object.cpp2
1 files changed, 1 insertions, 1 deletions
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"); \
} \