1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-28 12:02:00 +03:00

fixes unused variable 'ex' for #2304

This commit is contained in:
aodq
2020-07-23 13:21:38 -04:00
parent 43e07bb92d
commit 12885446d8
2 changed files with 4 additions and 0 deletions

View File

@ -5441,6 +5441,7 @@ class json_sax_dom_parser
const Exception& ex)
{
errored = true;
(void)ex;
if (allow_exceptions)
{
JSON_THROW(ex);
@ -5679,6 +5680,7 @@ class json_sax_dom_callback_parser
const Exception& ex)
{
errored = true;
(void)ex;
if (allow_exceptions)
{
JSON_THROW(ex);