Fossil SCM
Remove an unused global variable from the path_shortest() logic.
Commit
084690e77201c1d38a300fc9845a2133e797e60e0ab0e603c45c2dadafaede4e
Parent
f98852a0df35ef2…
1 file changed
-1
-1
| --- src/path.c | ||
| +++ src/path.c | ||
| @@ -45,11 +45,10 @@ | ||
| 45 | 45 | PathNode *pCurrent; /* Current generation of nodes */ |
| 46 | 46 | PathNode *pAll; /* All nodes */ |
| 47 | 47 | Bag seen; /* Nodes seen before */ |
| 48 | 48 | int nStep; /* Number of steps from first to last */ |
| 49 | 49 | PathNode *pStart; /* Earliest node */ |
| 50 | - PathNode *pPivot; /* Common ancestor of pStart and pEnd */ | |
| 51 | 50 | PathNode *pEnd; /* Most recent */ |
| 52 | 51 | } path; |
| 53 | 52 | |
| 54 | 53 | /* |
| 55 | 54 | ** Return the first (last) element of the computed path. |
| 56 | 55 |
| --- src/path.c | |
| +++ src/path.c | |
| @@ -45,11 +45,10 @@ | |
| 45 | PathNode *pCurrent; /* Current generation of nodes */ |
| 46 | PathNode *pAll; /* All nodes */ |
| 47 | Bag seen; /* Nodes seen before */ |
| 48 | int nStep; /* Number of steps from first to last */ |
| 49 | PathNode *pStart; /* Earliest node */ |
| 50 | PathNode *pPivot; /* Common ancestor of pStart and pEnd */ |
| 51 | PathNode *pEnd; /* Most recent */ |
| 52 | } path; |
| 53 | |
| 54 | /* |
| 55 | ** Return the first (last) element of the computed path. |
| 56 |
| --- src/path.c | |
| +++ src/path.c | |
| @@ -45,11 +45,10 @@ | |
| 45 | PathNode *pCurrent; /* Current generation of nodes */ |
| 46 | PathNode *pAll; /* All nodes */ |
| 47 | Bag seen; /* Nodes seen before */ |
| 48 | int nStep; /* Number of steps from first to last */ |
| 49 | PathNode *pStart; /* Earliest node */ |
| 50 | PathNode *pEnd; /* Most recent */ |
| 51 | } path; |
| 52 | |
| 53 | /* |
| 54 | ** Return the first (last) element of the computed path. |
| 55 |