refs #4871 fix lc_create so it doesn't issue useless valgrind warnings

git-svn-id: file:///svn/toku/tokudb@45207 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Leif Walsh 2013-04-17 00:00:56 -04:00 committed by Yoni Fogel
parent 83b52d4983
commit c380714035

View file

@ -140,6 +140,7 @@ static int lc_create(TOKULOGCURSOR *lc, const char *log_dir) {
}
cursor->logfiles = NULL;
cursor->n_logfiles = 0;
cursor->cur_fp = NULL;
cursor->cur_lsn.lsn=0;
cursor->last_direction=LC_FIRST;