Unverified Commit 808aca41 authored by Niels Lohmann's avatar Niels Lohmann Committed by GitHub

Merge pull request #2305 from AODQ/develop

fixes unused variable 'ex' for #2304
parents 63e7c40e 15ec0fe1
......@@ -263,6 +263,7 @@ class json_sax_dom_parser
const Exception& ex)
{
errored = true;
static_cast<void>(ex);
if (allow_exceptions)
{
JSON_THROW(ex);
......@@ -501,6 +502,7 @@ class json_sax_dom_callback_parser
const Exception& ex)
{
errored = true;
static_cast<void>(ex);
if (allow_exceptions)
{
JSON_THROW(ex);
......
......@@ -5442,6 +5442,7 @@ class json_sax_dom_parser
const Exception& ex)
{
errored = true;
static_cast<void>(ex);
if (allow_exceptions)
{
JSON_THROW(ex);
......@@ -5680,6 +5681,7 @@ class json_sax_dom_callback_parser
const Exception& ex)
{
errored = true;
static_cast<void>(ex);
if (allow_exceptions)
{
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