Commit 12885446 authored by aodq's avatar aodq

fixes unused variable 'ex' for #2304

parent 43e07bb9
...@@ -263,6 +263,7 @@ class json_sax_dom_parser ...@@ -263,6 +263,7 @@ class json_sax_dom_parser
const Exception& ex) const Exception& ex)
{ {
errored = true; errored = true;
(void)ex;
if (allow_exceptions) if (allow_exceptions)
{ {
JSON_THROW(ex); JSON_THROW(ex);
...@@ -501,6 +502,7 @@ class json_sax_dom_callback_parser ...@@ -501,6 +502,7 @@ class json_sax_dom_callback_parser
const Exception& ex) const Exception& ex)
{ {
errored = true; errored = true;
(void)ex;
if (allow_exceptions) if (allow_exceptions)
{ {
JSON_THROW(ex); JSON_THROW(ex);
......
...@@ -5441,6 +5441,7 @@ class json_sax_dom_parser ...@@ -5441,6 +5441,7 @@ class json_sax_dom_parser
const Exception& ex) const Exception& ex)
{ {
errored = true; errored = true;
(void)ex;
if (allow_exceptions) if (allow_exceptions)
{ {
JSON_THROW(ex); JSON_THROW(ex);
...@@ -5679,6 +5680,7 @@ class json_sax_dom_callback_parser ...@@ -5679,6 +5680,7 @@ class json_sax_dom_callback_parser
const Exception& ex) const Exception& ex)
{ {
errored = true; errored = true;
(void)ex;
if (allow_exceptions) if (allow_exceptions)
{ {
JSON_THROW(ex); JSON_THROW(ex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment