Fossil SCM
Omit unused variables in the timeline generator.
Commit
d5cff12464bde6d5c5be91b675f87b755e35df3d4c1200b601ed429fad8f3f79
Parent
69b95380793fe76…
1 file changed
+2
-2
+2
-2
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -186,16 +186,16 @@ | ||
| 186 | 186 | const char *zThisUser, /* Suppress links to this user */ |
| 187 | 187 | const char *zThisTag /* Suppress links to this tag */ |
| 188 | 188 | ){ |
| 189 | 189 | int rid = db_column_int(pQuery, 0); |
| 190 | 190 | const char *zUuid = db_column_text(pQuery, 1); |
| 191 | - int isLeaf = db_column_int(pQuery, 5); | |
| 191 | + /* int isLeaf = db_column_int(pQuery, 5); // not used */ | |
| 192 | 192 | const char *zDate = db_column_text(pQuery, 2); |
| 193 | 193 | const char *zType = db_column_text(pQuery, 7); |
| 194 | 194 | const char *zUser = db_column_text(pQuery, 4); |
| 195 | 195 | const char *zTagList = db_column_text(pQuery, 8); |
| 196 | - int tagid = db_column_int(pQuery, 9); | |
| 196 | + /* int tagid = db_column_int(pQuery, 9); // not used */ | |
| 197 | 197 | const char *zDispUser = zUser && zUser[0] ? zUser : "anonymous"; |
| 198 | 198 | |
| 199 | 199 | if( (tmFlags & (TIMELINE_CLASSIC|TIMELINE_VERBOSE|TIMELINE_COMPACT))!=0 ){ |
| 200 | 200 | cgi_printf("("); |
| 201 | 201 | } |
| 202 | 202 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -186,16 +186,16 @@ | |
| 186 | const char *zThisUser, /* Suppress links to this user */ |
| 187 | const char *zThisTag /* Suppress links to this tag */ |
| 188 | ){ |
| 189 | int rid = db_column_int(pQuery, 0); |
| 190 | const char *zUuid = db_column_text(pQuery, 1); |
| 191 | int isLeaf = db_column_int(pQuery, 5); |
| 192 | const char *zDate = db_column_text(pQuery, 2); |
| 193 | const char *zType = db_column_text(pQuery, 7); |
| 194 | const char *zUser = db_column_text(pQuery, 4); |
| 195 | const char *zTagList = db_column_text(pQuery, 8); |
| 196 | int tagid = db_column_int(pQuery, 9); |
| 197 | const char *zDispUser = zUser && zUser[0] ? zUser : "anonymous"; |
| 198 | |
| 199 | if( (tmFlags & (TIMELINE_CLASSIC|TIMELINE_VERBOSE|TIMELINE_COMPACT))!=0 ){ |
| 200 | cgi_printf("("); |
| 201 | } |
| 202 |
| --- src/timeline.c | |
| +++ src/timeline.c | |
| @@ -186,16 +186,16 @@ | |
| 186 | const char *zThisUser, /* Suppress links to this user */ |
| 187 | const char *zThisTag /* Suppress links to this tag */ |
| 188 | ){ |
| 189 | int rid = db_column_int(pQuery, 0); |
| 190 | const char *zUuid = db_column_text(pQuery, 1); |
| 191 | /* int isLeaf = db_column_int(pQuery, 5); // not used */ |
| 192 | const char *zDate = db_column_text(pQuery, 2); |
| 193 | const char *zType = db_column_text(pQuery, 7); |
| 194 | const char *zUser = db_column_text(pQuery, 4); |
| 195 | const char *zTagList = db_column_text(pQuery, 8); |
| 196 | /* int tagid = db_column_int(pQuery, 9); // not used */ |
| 197 | const char *zDispUser = zUser && zUser[0] ? zUser : "anonymous"; |
| 198 | |
| 199 | if( (tmFlags & (TIMELINE_CLASSIC|TIMELINE_VERBOSE|TIMELINE_COMPACT))!=0 ){ |
| 200 | cgi_printf("("); |
| 201 | } |
| 202 |