Fixed sqlite3 warnings

This commit is contained in:
matlabbe
2015-11-06 14:10:45 -05:00
parent 58190d5422
commit e8bea5cba3

View File

@@ -57026,6 +57026,7 @@ static int balance_nonroot(
** intkey b-tree, then cell i was a divider cell. */
assert( j+1 < ArraySize(apCopy) );
assert( j+1 < nOld );
if(j+1 < ArraySize(apCopy))
pOld = apCopy[++j];
iNextOld = i + !leafData + pOld->nCell + pOld->nOverflow;
if( pOld->nOverflow ){
@@ -58182,8 +58183,8 @@ static void checkPtrmap(
char *zContext /* Context description (used for error msg) */
){
int rc;
u8 ePtrmapType;
Pgno iPtrmapParent;
u8 ePtrmapType = 0;
Pgno iPtrmapParent = 0;
rc = ptrmapGet(pCheck->pBt, iChild, &ePtrmapType, &iPtrmapParent);
if( rc!=SQLITE_OK ){