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

Minor changes to silence some compiler warnings with MSVC.

FossilOrigin-Name: 4927c62d6214d93e582bf1266215ed3519630c15
This commit is contained in:
shaneh
2010-02-26 01:46:54 +00:00
parent e294da02ba
commit 84f4b2f237
6 changed files with 24 additions and 27 deletions

View File

@@ -4928,8 +4928,8 @@ static int freePage2(BtShared *pBt, MemPage *pMemPage, Pgno iPage){
/* If the secure_delete option is enabled, then
** always fully overwrite deleted information with zeros.
*/
if( (!pPage && (rc = btreeGetPage(pBt, iPage, &pPage, 0)))
|| (rc = sqlite3PagerWrite(pPage->pDbPage))
if( (!pPage && ((rc = btreeGetPage(pBt, iPage, &pPage, 0))!=0) )
|| ((rc = sqlite3PagerWrite(pPage->pDbPage))!=0)
){
goto freepage_out;
}