diff options
author | Keith Bostic <keith.bostic@mongodb.com> | 2016-10-16 18:01:20 -0400 |
---|---|---|
committer | Alex Gorrod <alexander.gorrod@mongodb.com> | 2016-10-17 09:01:20 +1100 |
commit | 63515011c14dda125b8acd3b29780b6ece612b0e (patch) | |
tree | 68891411e85533088ac14b3fa47faddd10c44ff4 /src/btree/bt_stat.c | |
parent | f8bcc58d267e82f085fae3b64f498ee9fecbe424 (diff) | |
download | mongo-63515011c14dda125b8acd3b29780b6ece612b0e.tar.gz |
WT-2974 lint (#3095)
__evict_stat_walk(), __wt_curstat_cache_walk(), query_docs() don't
return error values, switch to void declarations.
__evict_stat_walk() unused variable, bytes_inmem.
WT_CURSOR.{get_key,get_value} and pthread_join can all return errors,
assert they don't fail.
KNF, whitespace
Update spelling list.
Add a new test utility macro, testutil_assertfmt(), so it's possible
to assert with more expansive error messages.
Diffstat (limited to 'src/btree/bt_stat.c')
-rw-r--r-- | src/btree/bt_stat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btree/bt_stat.c b/src/btree/bt_stat.c index ad3d94a856f..06428b87f6e 100644 --- a/src/btree/bt_stat.c +++ b/src/btree/bt_stat.c @@ -44,7 +44,7 @@ __wt_btree_stat_init(WT_SESSION_IMPL *session, WT_CURSOR_STAT *cst) __wt_btree_bytes_inuse(session)); if (F_ISSET(cst, WT_STAT_TYPE_CACHE_WALK)) - WT_RET(__wt_curstat_cache_walk(session)); + __wt_curstat_cache_walk(session); if (F_ISSET(cst, WT_STAT_TYPE_TREE_WALK)) WT_RET(__stat_tree_walk(session)); |