From 1ede1f33a93321ede350dbf61ba02aa6fa074322 Mon Sep 17 00:00:00 2001 From: ZhilkinSerg Date: Sun, 27 Oct 2019 01:34:26 +0300 Subject: [PATCH] Guard unused member Fixes #35041 --- src/json.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/json.h b/src/json.h index 70dd8e12b4722..6f5c5e0b8e1a4 100644 --- a/src/json.h +++ b/src/json.h @@ -783,7 +783,9 @@ class JsonObject int end; bool final_separator; bool report_unvisited_members = true; +#ifndef CATA_IN_TOOL bool reported_unvisited_members = false; +#endif JsonIn *jsin; int verify_position( const std::string &name, bool throw_exception = true );