Fossil SCM
eliminate unused variables
Commit
c699e9fedf918eb8fa37ec92efc8d55bc03f923c0d30107c63cfb5c899a7d5e6
Parent
3b988301c77b2ef…
1 file changed
+4
-2
+4
-2
| --- src/finfo.c | ||
| +++ src/finfo.c | ||
| @@ -313,15 +313,17 @@ | ||
| 313 | 313 | int uBg = P("ubg")!=0; |
| 314 | 314 | int fDebug = atoi(PD("debug","0")); |
| 315 | 315 | int fShowId = P("showid")!=0; |
| 316 | 316 | Stmt qparent; |
| 317 | 317 | int iTableId = timeline_tableid(); |
| 318 | +#if 0 | |
| 318 | 319 | int bHashBeforeComment = 0; /* Show hash before the comment */ |
| 319 | 320 | int bHashInDetail = 0; /* Show the hash inside the detail section */ |
| 320 | 321 | int bShowDetail; /* Show the detail section */ |
| 321 | 322 | int bSeparateDetail; /* Detail section in a separate column */ |
| 322 | 323 | int eCommentFormat; /* value for timeline-comment-format */ |
| 324 | +#endif | |
| 323 | 325 | int tmFlags = 0; /* Viewing mode */ |
| 324 | 326 | const char *zStyle; /* Viewing mode name */ |
| 325 | 327 | |
| 326 | 328 | login_check_credentials(); |
| 327 | 329 | if( !g.perm.Read ){ login_needed(g.anon.Read); return; } |
| @@ -345,11 +347,11 @@ | ||
| 345 | 347 | zFilename = PD("name",""); |
| 346 | 348 | cookie_render(); |
| 347 | 349 | #if 0 |
| 348 | 350 | eCommentFormat = db_get_int("timeline-comment-format", 4); |
| 349 | 351 | bShowDetail = (eCommentFormat & 1)==0; /* Bit 0 suppresses the comment */ |
| 350 | - bSeparateDetail = (eCommentFormat & 8)!=0; | |
| 352 | + bSeparateDetail = (eCommentFormat & 8)!=0; | |
| 351 | 353 | switch( (eCommentFormat>>1)&3 ){ |
| 352 | 354 | case 1: bHashAfterComment = 1; break; |
| 353 | 355 | case 2: bHashInDetail = 1; break; |
| 354 | 356 | default: bHashBeforeComment = 1; break; |
| 355 | 357 | } |
| @@ -664,11 +666,11 @@ | ||
| 664 | 666 | ** |
| 665 | 667 | ** Show all MLINK table entries for a particular file, or for |
| 666 | 668 | ** a particular check-in. |
| 667 | 669 | ** |
| 668 | 670 | ** This screen is intended for use by Fossil developers to help |
| 669 | -** in debugging Fossil itself. Ordinary Fossil users are not | |
| 671 | +** in debugging Fossil itself. Ordinary Fossil users are not | |
| 670 | 672 | ** expected to know what the MLINK table is or why it is important. |
| 671 | 673 | ** |
| 672 | 674 | ** To avoid confusing ordinary users, this page is only available |
| 673 | 675 | ** to adminstrators. |
| 674 | 676 | */ |
| 675 | 677 |
| --- src/finfo.c | |
| +++ src/finfo.c | |
| @@ -313,15 +313,17 @@ | |
| 313 | int uBg = P("ubg")!=0; |
| 314 | int fDebug = atoi(PD("debug","0")); |
| 315 | int fShowId = P("showid")!=0; |
| 316 | Stmt qparent; |
| 317 | int iTableId = timeline_tableid(); |
| 318 | int bHashBeforeComment = 0; /* Show hash before the comment */ |
| 319 | int bHashInDetail = 0; /* Show the hash inside the detail section */ |
| 320 | int bShowDetail; /* Show the detail section */ |
| 321 | int bSeparateDetail; /* Detail section in a separate column */ |
| 322 | int eCommentFormat; /* value for timeline-comment-format */ |
| 323 | int tmFlags = 0; /* Viewing mode */ |
| 324 | const char *zStyle; /* Viewing mode name */ |
| 325 | |
| 326 | login_check_credentials(); |
| 327 | if( !g.perm.Read ){ login_needed(g.anon.Read); return; } |
| @@ -345,11 +347,11 @@ | |
| 345 | zFilename = PD("name",""); |
| 346 | cookie_render(); |
| 347 | #if 0 |
| 348 | eCommentFormat = db_get_int("timeline-comment-format", 4); |
| 349 | bShowDetail = (eCommentFormat & 1)==0; /* Bit 0 suppresses the comment */ |
| 350 | bSeparateDetail = (eCommentFormat & 8)!=0; |
| 351 | switch( (eCommentFormat>>1)&3 ){ |
| 352 | case 1: bHashAfterComment = 1; break; |
| 353 | case 2: bHashInDetail = 1; break; |
| 354 | default: bHashBeforeComment = 1; break; |
| 355 | } |
| @@ -664,11 +666,11 @@ | |
| 664 | ** |
| 665 | ** Show all MLINK table entries for a particular file, or for |
| 666 | ** a particular check-in. |
| 667 | ** |
| 668 | ** This screen is intended for use by Fossil developers to help |
| 669 | ** in debugging Fossil itself. Ordinary Fossil users are not |
| 670 | ** expected to know what the MLINK table is or why it is important. |
| 671 | ** |
| 672 | ** To avoid confusing ordinary users, this page is only available |
| 673 | ** to adminstrators. |
| 674 | */ |
| 675 |
| --- src/finfo.c | |
| +++ src/finfo.c | |
| @@ -313,15 +313,17 @@ | |
| 313 | int uBg = P("ubg")!=0; |
| 314 | int fDebug = atoi(PD("debug","0")); |
| 315 | int fShowId = P("showid")!=0; |
| 316 | Stmt qparent; |
| 317 | int iTableId = timeline_tableid(); |
| 318 | #if 0 |
| 319 | int bHashBeforeComment = 0; /* Show hash before the comment */ |
| 320 | int bHashInDetail = 0; /* Show the hash inside the detail section */ |
| 321 | int bShowDetail; /* Show the detail section */ |
| 322 | int bSeparateDetail; /* Detail section in a separate column */ |
| 323 | int eCommentFormat; /* value for timeline-comment-format */ |
| 324 | #endif |
| 325 | int tmFlags = 0; /* Viewing mode */ |
| 326 | const char *zStyle; /* Viewing mode name */ |
| 327 | |
| 328 | login_check_credentials(); |
| 329 | if( !g.perm.Read ){ login_needed(g.anon.Read); return; } |
| @@ -345,11 +347,11 @@ | |
| 347 | zFilename = PD("name",""); |
| 348 | cookie_render(); |
| 349 | #if 0 |
| 350 | eCommentFormat = db_get_int("timeline-comment-format", 4); |
| 351 | bShowDetail = (eCommentFormat & 1)==0; /* Bit 0 suppresses the comment */ |
| 352 | bSeparateDetail = (eCommentFormat & 8)!=0; |
| 353 | switch( (eCommentFormat>>1)&3 ){ |
| 354 | case 1: bHashAfterComment = 1; break; |
| 355 | case 2: bHashInDetail = 1; break; |
| 356 | default: bHashBeforeComment = 1; break; |
| 357 | } |
| @@ -664,11 +666,11 @@ | |
| 666 | ** |
| 667 | ** Show all MLINK table entries for a particular file, or for |
| 668 | ** a particular check-in. |
| 669 | ** |
| 670 | ** This screen is intended for use by Fossil developers to help |
| 671 | ** in debugging Fossil itself. Ordinary Fossil users are not |
| 672 | ** expected to know what the MLINK table is or why it is important. |
| 673 | ** |
| 674 | ** To avoid confusing ordinary users, this page is only available |
| 675 | ** to adminstrators. |
| 676 | */ |
| 677 |