1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

Fix a harmless compiler warning in rtree.

FossilOrigin-Name: 30891c6b8ebe9dfc939f9695bb45a159fbaaf262
This commit is contained in:
drh
2015-01-01 16:47:43 +00:00
parent a0de826c9f
commit f0a88279bd
3 changed files with 8 additions and 8 deletions

View File

@ -1182,7 +1182,7 @@ static RtreeSearchPoint *rtreeEnqueue(
pNew = pCur->aPoint + i;
pNew->rScore = rScore;
pNew->iLevel = iLevel;
assert( iLevel>=0 && iLevel<=RTREE_MAX_DEPTH );
assert( iLevel<=RTREE_MAX_DEPTH );
while( i>0 ){
RtreeSearchPoint *pParent;
j = (i-1)/2;