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

Fix a (harmless) shadowed local variable definition in the integrity_check

logic.

FossilOrigin-Name: 3a26a919fd5550e5a0053a48cb93a27bb95cc916
This commit is contained in:
drh
2015-07-02 16:29:56 +00:00
parent cbc6b71f39
commit 1910def351
3 changed files with 10 additions and 9 deletions

View File

@@ -9101,8 +9101,9 @@ static int checkTreePage(
heap[0] = 0;
btreeHeapInsert(heap, contentOffset-1);
for(i=nCell-1; i>=0; i--){
u32 pc = get2byteAligned(&data[cellStart+i*2]);
u32 size = pPage->xCellSize(pPage, &data[pc]);
u32 size;
pc = get2byteAligned(&data[cellStart+i*2]);
size = pPage->xCellSize(pPage, &data[pc]);
btreeHeapInsert(heap, (pc<<16)|(pc+size-1));
}
}