diff --git a/src/univalue/test/object.cpp b/src/univalue/test/object.cpp index c5f15ff474c..2577c682d71 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"); \ } \