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:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user