Fossil SCM
Fix an uninitialized variable in the graph generator - error inserted by the previous checkin.
Commit
4d1ef64ee89ba2ce7ffd0d1f51c299e5bbdfebc6
Parent
5129d32a3719fdc…
1 file changed
+1
-1
+1
-1
| --- src/graph.c | ||
| +++ src/graph.c | ||
| @@ -289,11 +289,11 @@ | ||
| 289 | 289 | }else { |
| 290 | 290 | if( pRow->iRail>=0 ) continue; |
| 291 | 291 | } |
| 292 | 292 | if( pRow->nParent==0 || hashFind(p,pRow->aParent[0])==0 ){ |
| 293 | 293 | if( omitDescenders ){ |
| 294 | - pRow->iRail = findFreeRail(p, pRow->idx, pRow->idx, inUse, 0); | |
| 294 | + pRow->iRail = findFreeRail(p, pRow->idx, pRow->idx, 0, 0); | |
| 295 | 295 | }else{ |
| 296 | 296 | pRow->iRail = ++p->mxRail; |
| 297 | 297 | } |
| 298 | 298 | mask = 1<<(pRow->iRail); |
| 299 | 299 | if( omitDescenders ){ |
| 300 | 300 |
| --- src/graph.c | |
| +++ src/graph.c | |
| @@ -289,11 +289,11 @@ | |
| 289 | }else { |
| 290 | if( pRow->iRail>=0 ) continue; |
| 291 | } |
| 292 | if( pRow->nParent==0 || hashFind(p,pRow->aParent[0])==0 ){ |
| 293 | if( omitDescenders ){ |
| 294 | pRow->iRail = findFreeRail(p, pRow->idx, pRow->idx, inUse, 0); |
| 295 | }else{ |
| 296 | pRow->iRail = ++p->mxRail; |
| 297 | } |
| 298 | mask = 1<<(pRow->iRail); |
| 299 | if( omitDescenders ){ |
| 300 |
| --- src/graph.c | |
| +++ src/graph.c | |
| @@ -289,11 +289,11 @@ | |
| 289 | }else { |
| 290 | if( pRow->iRail>=0 ) continue; |
| 291 | } |
| 292 | if( pRow->nParent==0 || hashFind(p,pRow->aParent[0])==0 ){ |
| 293 | if( omitDescenders ){ |
| 294 | pRow->iRail = findFreeRail(p, pRow->idx, pRow->idx, 0, 0); |
| 295 | }else{ |
| 296 | pRow->iRail = ++p->mxRail; |
| 297 | } |
| 298 | mask = 1<<(pRow->iRail); |
| 299 | if( omitDescenders ){ |
| 300 |