btree/bt_split.c: Fix uninitialized var warning.
This commit is contained in:
parent
fd456d4845
commit
7eae88acd1
1 changed files with 4 additions and 4 deletions
|
|
@ -87,14 +87,14 @@ __bt_split(t, sp, key, data, flags, ilen, argskip)
|
||||||
size_t ilen;
|
size_t ilen;
|
||||||
u_int32_t argskip;
|
u_int32_t argskip;
|
||||||
{
|
{
|
||||||
BINTERNAL *bi;
|
BINTERNAL *bi = NULL;
|
||||||
BLEAF *bl, *tbl;
|
BLEAF *bl = NULL, *tbl;
|
||||||
DBT a, b;
|
DBT a, b;
|
||||||
EPGNO *parent;
|
EPGNO *parent;
|
||||||
PAGE *h, *l, *r, *lchild, *rchild;
|
PAGE *h, *l, *r, *lchild, *rchild;
|
||||||
indx_t nxtindex;
|
indx_t nxtindex;
|
||||||
u_int16_t skip;
|
u_int16_t skip;
|
||||||
u_int32_t n, nbytes, nksize;
|
u_int32_t n, nbytes, nksize = 0;
|
||||||
int parentsplit;
|
int parentsplit;
|
||||||
char *dest;
|
char *dest;
|
||||||
|
|
||||||
|
|
@ -621,7 +621,7 @@ bt_psplit(t, h, l, r, pskip, ilen)
|
||||||
CURSOR *c;
|
CURSOR *c;
|
||||||
RLEAF *rl;
|
RLEAF *rl;
|
||||||
PAGE *rval;
|
PAGE *rval;
|
||||||
void *src;
|
void *src = NULL;
|
||||||
indx_t full, half, nxt, off, skip, top, used;
|
indx_t full, half, nxt, off, skip, top, used;
|
||||||
u_int32_t nbytes;
|
u_int32_t nbytes;
|
||||||
int bigkeycnt, isbigkey;
|
int bigkeycnt, isbigkey;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue