Fossil SCM
Fix an unused variable and add a header comment to get_checkin_taglist().
Commit
6c62828b7a34c40b5a2ef88069b72e004c0b88cb
Parent
2350b0681eaa939…
1 file changed
+10
-1
+10
-1
| --- src/checkout.c | ||
| +++ src/checkout.c | ||
| @@ -187,12 +187,21 @@ | ||
| 187 | 187 | free(zManFile); |
| 188 | 188 | } |
| 189 | 189 | } |
| 190 | 190 | } |
| 191 | 191 | |
| 192 | +/* | |
| 193 | +** Find the branch name and all symbolic tags for a particular check-in | |
| 194 | +** identified by "rid". | |
| 195 | +** | |
| 196 | +** The branch name is actually only extracted if this procedure is run | |
| 197 | +** from within a local check-out. And the branch name is not the branch | |
| 198 | +** name for "rid" but rather the branch name for the current check-out. | |
| 199 | +** It is unclear if the rid parameter is always the same as the current | |
| 200 | +** check-out. | |
| 201 | +*/ | |
| 192 | 202 | void get_checkin_taglist(int rid, Blob *pOut){ |
| 193 | - char *zTags; | |
| 194 | 203 | Stmt stmt; |
| 195 | 204 | blob_reset(pOut); |
| 196 | 205 | if( g.localOpen ){ |
| 197 | 206 | char *zCurrent; |
| 198 | 207 | int vid; |
| 199 | 208 |
| --- src/checkout.c | |
| +++ src/checkout.c | |
| @@ -187,12 +187,21 @@ | |
| 187 | free(zManFile); |
| 188 | } |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | void get_checkin_taglist(int rid, Blob *pOut){ |
| 193 | char *zTags; |
| 194 | Stmt stmt; |
| 195 | blob_reset(pOut); |
| 196 | if( g.localOpen ){ |
| 197 | char *zCurrent; |
| 198 | int vid; |
| 199 |
| --- src/checkout.c | |
| +++ src/checkout.c | |
| @@ -187,12 +187,21 @@ | |
| 187 | free(zManFile); |
| 188 | } |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | /* |
| 193 | ** Find the branch name and all symbolic tags for a particular check-in |
| 194 | ** identified by "rid". |
| 195 | ** |
| 196 | ** The branch name is actually only extracted if this procedure is run |
| 197 | ** from within a local check-out. And the branch name is not the branch |
| 198 | ** name for "rid" but rather the branch name for the current check-out. |
| 199 | ** It is unclear if the rid parameter is always the same as the current |
| 200 | ** check-out. |
| 201 | */ |
| 202 | void get_checkin_taglist(int rid, Blob *pOut){ |
| 203 | Stmt stmt; |
| 204 | blob_reset(pOut); |
| 205 | if( g.localOpen ){ |
| 206 | char *zCurrent; |
| 207 | int vid; |
| 208 |