/ Check-in [30891c6b]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix a harmless compiler warning in rtree.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 30891c6b8ebe9dfc939f9695bb45a159fbaaf262
User & Date: drh 2015-01-01 16:47:43
Context
2015-01-01
18:54
Fix an error in the computation of the number of hours of runtime for individual test runs in the releasetest.tcl script. check-in: e2b0ebe2 user: drh tags: trunk
16:47
Fix a harmless compiler warning in rtree. check-in: 30891c6b user: drh tags: trunk
14:13
Fix two test cases in memsubsys1 so that they work with the mmap permutation. check-in: 66269d0d user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to ext/rtree/rtree.c.

  1178   1178       pCur->aPoint = pNew;
  1179   1179       pCur->nPointAlloc = nNew;
  1180   1180     }
  1181   1181     i = pCur->nPoint++;
  1182   1182     pNew = pCur->aPoint + i;
  1183   1183     pNew->rScore = rScore;
  1184   1184     pNew->iLevel = iLevel;
  1185         -  assert( iLevel>=0 && iLevel<=RTREE_MAX_DEPTH );
         1185  +  assert( iLevel<=RTREE_MAX_DEPTH );
  1186   1186     while( i>0 ){
  1187   1187       RtreeSearchPoint *pParent;
  1188   1188       j = (i-1)/2;
  1189   1189       pParent = pCur->aPoint + j;
  1190   1190       if( rtreeSearchPointCompare(pNew, pParent)>=0 ) break;
  1191   1191       rtreeSearchPointSwap(pCur, j, i);
  1192   1192       i = j;