mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Fixed sqlite3 warnings
This commit is contained in:
@@ -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 ){
|
||||
|
||||
Reference in New Issue
Block a user