Skip to content

Commit

Permalink
Guard unused member
Browse files Browse the repository at this point in the history
Fixes #35041
  • Loading branch information
ZhilkinSerg authored Oct 26, 2019
1 parent 227169f commit 1ede1f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/json.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 1ede1f3

Please sign in to comment.