Merge pull request #2305 from AODQ/develop

fixes unused variable 'ex' for #2304
pull/2314/head
Niels Lohmann 2020-07-25 21:51:54 +02:00 committed by GitHub
commit 808aca41aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -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);

View File

@ -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);