Commit 50a4f37f authored by Yoni Fogel's avatar Yoni Fogel

[t:2641] Fix build (false positive uninitialized variables warning)

git-svn-id: file:///svn/toku/tokudb@20866 c7de825b-a66e-492c-adef-691d508d4ae1
parent f03cda9c
...@@ -4091,6 +4091,10 @@ static inline int brt_cursor_extract_key_and_val( ...@@ -4091,6 +4091,10 @@ static inline int brt_cursor_extract_key_and_val(
TXNID rootid = cursor->brt->h->root_that_created_or_locked_when_empty; TXNID rootid = cursor->brt->h->root_that_created_or_locked_when_empty;
if (rootid != TXNID_NONE && rootid != cursor->ancestor_id) { if (rootid != TXNID_NONE && rootid != cursor->ancestor_id) {
r = DB_NOTFOUND; r = DB_NOTFOUND;
*keylen = 0;
*key = NULL;
*vallen = 0;
*val = NULL;
} }
else { else {
TXNID le_anc_id = le_outermost_uncommitted_xid(le); TXNID le_anc_id = le_outermost_uncommitted_xid(le);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment