summaryrefslogtreecommitdiff
path: root/db1-ast/btree/bt_split.c
diff options
context:
space:
mode:
Diffstat (limited to 'db1-ast/btree/bt_split.c')
-rwxr-xr-xdb1-ast/btree/bt_split.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/db1-ast/btree/bt_split.c b/db1-ast/btree/bt_split.c
index 4119ccbf7..e6bd540b4 100755
--- a/db1-ast/btree/bt_split.c
+++ b/db1-ast/btree/bt_split.c
@@ -87,14 +87,14 @@ __bt_split(t, sp, key, data, flags, ilen, argskip)
size_t ilen;
u_int32_t argskip;
{
- BINTERNAL *bi;
- BLEAF *bl, *tbl;
+ BINTERNAL *bi = 0;
+ BLEAF *bl = 0, *tbl;
DBT a, b;
EPGNO *parent;
PAGE *h, *l, *r, *lchild, *rchild;
indx_t nxtindex;
u_int16_t skip;
- u_int32_t n, nbytes, nksize;
+ u_int32_t n, nbytes, nksize = 0;
int parentsplit;
char *dest;
@@ -622,7 +622,7 @@ bt_psplit(t, h, l, r, pskip, ilen)
CURSOR *c;
RLEAF *rl;
PAGE *rval;
- void *src;
+ void *src = 0;
indx_t full, half, nxt, off, skip, top, used;
u_int32_t nbytes;
int bigkeycnt, isbigkey;