mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 08:47:45 +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. */
|
** intkey b-tree, then cell i was a divider cell. */
|
||||||
assert( j+1 < ArraySize(apCopy) );
|
assert( j+1 < ArraySize(apCopy) );
|
||||||
assert( j+1 < nOld );
|
assert( j+1 < nOld );
|
||||||
|
if(j+1 < ArraySize(apCopy))
|
||||||
pOld = apCopy[++j];
|
pOld = apCopy[++j];
|
||||||
iNextOld = i + !leafData + pOld->nCell + pOld->nOverflow;
|
iNextOld = i + !leafData + pOld->nCell + pOld->nOverflow;
|
||||||
if( pOld->nOverflow ){
|
if( pOld->nOverflow ){
|
||||||
@@ -58182,8 +58183,8 @@ static void checkPtrmap(
|
|||||||
char *zContext /* Context description (used for error msg) */
|
char *zContext /* Context description (used for error msg) */
|
||||||
){
|
){
|
||||||
int rc;
|
int rc;
|
||||||
u8 ePtrmapType;
|
u8 ePtrmapType = 0;
|
||||||
Pgno iPtrmapParent;
|
Pgno iPtrmapParent = 0;
|
||||||
|
|
||||||
rc = ptrmapGet(pCheck->pBt, iChild, &ePtrmapType, &iPtrmapParent);
|
rc = ptrmapGet(pCheck->pBt, iChild, &ePtrmapType, &iPtrmapParent);
|
||||||
if( rc!=SQLITE_OK ){
|
if( rc!=SQLITE_OK ){
|
||||||
|
|||||||
Reference in New Issue
Block a user