Skip to content

Commit

Permalink
Merge pull request EOSIO#27 from EOSIO/hide_unused_locking_vars
Browse files Browse the repository at this point in the history
ifdef out unused LOCKING variables to squelch warnings
  • Loading branch information
spoonincode authored Oct 1, 2018
2 parents 373a692 + 10108ac commit 8ca96ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/chainbase/chainbase.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1037,9 +1037,11 @@ namespace chainbase {

bfs::path _data_dir;

#ifdef CHAINBASE_CHECK_LOCKING
int32_t _read_lock_count = 0;
int32_t _write_lock_count = 0;
bool _enable_require_locking = false;
#endif

void _msync_database();
};
Expand Down

0 comments on commit 8ca96ad

Please sign in to comment.