1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Fix harmless compiler warnings.

FossilOrigin-Name: 8d5b76593d82b3a57bc904ced33c24cd49369868b5dd2fe7f2c7b114f5aee2f6
This commit is contained in:
drh
2022-11-28 20:08:15 +00:00
parent 57ba01de4a
commit 5b046dadfc
4 changed files with 16 additions and 15 deletions

View File

@@ -7127,12 +7127,12 @@ static int insertCell(
assert( get2byte(&data[pPage->hdrOffset+3])==pPage->nCell || CORRUPT_DB );
#ifndef SQLITE_OMIT_AUTOVACUUM
if( pPage->pBt->autoVacuum ){
int rc = SQLITE_OK;
int rc2 = SQLITE_OK;
/* The cell may contain a pointer to an overflow page. If so, write
** the entry for the overflow page into the pointer map.
*/
ptrmapPutOvflPtr(pPage, pPage, pCell, &rc);
if( rc ) return rc;
ptrmapPutOvflPtr(pPage, pPage, pCell, &rc2);
if( rc2 ) return rc;
}
#endif
}