mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Fix harmless compiler warning in MSVC 2015.
FossilOrigin-Name: 01c8b9ccfa0f336dfead7c004de3de571753f707
This commit is contained in:
10
src/wal.c
10
src/wal.c
@@ -952,13 +952,13 @@ static void walCleanupHash(Wal *pWal){
|
||||
** via the hash table even after the cleanup.
|
||||
*/
|
||||
if( iLimit ){
|
||||
int i; /* Loop counter */
|
||||
int j; /* Loop counter */
|
||||
int iKey; /* Hash key */
|
||||
for(i=1; i<=iLimit; i++){
|
||||
for(iKey=walHash(aPgno[i]); aHash[iKey]; iKey=walNextHash(iKey)){
|
||||
if( aHash[iKey]==i ) break;
|
||||
for(j=1; j<=iLimit; j++){
|
||||
for(iKey=walHash(aPgno[j]); aHash[iKey]; iKey=walNextHash(iKey)){
|
||||
if( aHash[iKey]==j ) break;
|
||||
}
|
||||
assert( aHash[iKey]==i );
|
||||
assert( aHash[iKey]==j );
|
||||
}
|
||||
}
|
||||
#endif /* SQLITE_ENABLE_EXPENSIVE_ASSERT */
|
||||
|
Reference in New Issue
Block a user