fixes unused variable 'ex' for #2304
This commit is contained in:
parent
43e07bb92d
commit
12885446d8
@ -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
|
|||||||
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
|
|||||||
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
|
|||||||
const Exception& ex)
|
const Exception& ex)
|
||||||
{
|
{
|
||||||
errored = true;
|
errored = true;
|
||||||
|
(void)ex;
|
||||||
if (allow_exceptions)
|
if (allow_exceptions)
|
||||||
{
|
{
|
||||||
JSON_THROW(ex);
|
JSON_THROW(ex);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user