Fossil SCM

Fix an uninitialized variable in the graph generator - error inserted by the previous checkin.

drh 2010-06-17 02:01 trunk
Commit 4d1ef64ee89ba2ce7ffd0d1f51c299e5bbdfebc6
1 file changed +1 -1
+1 -1
--- src/graph.c
+++ src/graph.c
@@ -289,11 +289,11 @@
289289
}else {
290290
if( pRow->iRail>=0 ) continue;
291291
}
292292
if( pRow->nParent==0 || hashFind(p,pRow->aParent[0])==0 ){
293293
if( omitDescenders ){
294
- pRow->iRail = findFreeRail(p, pRow->idx, pRow->idx, inUse, 0);
294
+ pRow->iRail = findFreeRail(p, pRow->idx, pRow->idx, 0, 0);
295295
}else{
296296
pRow->iRail = ++p->mxRail;
297297
}
298298
mask = 1<<(pRow->iRail);
299299
if( omitDescenders ){
300300
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button