From aca43651083b8e0be9a9051190b70bfdd94ecfef Mon Sep 17 00:00:00 2001 From: Sears Russell Date: Wed, 20 Apr 2011 20:47:22 +0000 Subject: [PATCH] fix compiler warning in bTree.c --- src/stasis/operations/bTree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stasis/operations/bTree.c b/src/stasis/operations/bTree.c index f84b56f..146c936 100644 --- a/src/stasis/operations/bTree.c +++ b/src/stasis/operations/bTree.c @@ -178,7 +178,7 @@ int TbtreeInsert(int xid, recordid rid, void *cmp_arg, byte *key, size_t keySize recordid newrid = stasis_record_alloc_begin(xid, p, sz); if(newrid.size != sz) { // split leaf into two halves (based on slot count) - pageid_t leftpage = p->id; + //pageid_t leftpage = p->id; pageid_t rightpage = TpageAlloc(xid); TinitializeSlottedPage(xid, rightpage); Page * rightp = loadPage(xid, rightpage);