Fossil SCM

Fix an unused variable and add a header comment to get_checkin_taglist().

drh 2016-08-08 14:42 jan-manifest-tags
Commit 6c62828b7a34c40b5a2ef88069b72e004c0b88cb
1 file changed +10 -1
+10 -1
--- src/checkout.c
+++ src/checkout.c
@@ -187,12 +187,21 @@
187187
free(zManFile);
188188
}
189189
}
190190
}
191191
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
+*/
192202
void get_checkin_taglist(int rid, Blob *pOut){
193
- char *zTags;
194203
Stmt stmt;
195204
blob_reset(pOut);
196205
if( g.localOpen ){
197206
char *zCurrent;
198207
int vid;
199208
--- 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

Keyboard Shortcuts

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