Fossil SCM
Remove some unneeded code.
Commit
83877bb727aec6792dfa5d9e3b0fc2788e54e0ab0bf09656e12e75e72f8c3628
Parent
4b8efc05d7f70f9…
1 file changed
-3
-3
| --- tools/mkindex.c | ||
| +++ tools/mkindex.c | ||
| @@ -414,11 +414,10 @@ | ||
| 414 | 414 | ** Build the binary search table. |
| 415 | 415 | */ |
| 416 | 416 | void build_table(void){ |
| 417 | 417 | int i; |
| 418 | 418 | int nWeb = 0; |
| 419 | - int nAlias = 0; | |
| 420 | 419 | int mxLen = 0; |
| 421 | 420 | |
| 422 | 421 | qsort(aEntry, nFixed, sizeof(aEntry[0]), e_compare); |
| 423 | 422 | |
| 424 | 423 | printf( |
| @@ -466,12 +465,10 @@ | ||
| 466 | 465 | if( n>mxLen ) mxLen = n; |
| 467 | 466 | if( aEntry[i].zIf ){ |
| 468 | 467 | printf("%s", aEntry[i].zIf); |
| 469 | 468 | }else if( (aEntry[i].eType & CMDFLAG_WEBPAGE)!=0 ){ |
| 470 | 469 | nWeb++; |
| 471 | - }else if( (aEntry[i].eType & CMDFLAG_ALIAS)!=0 ){ | |
| 472 | - nAlias++; | |
| 473 | 470 | } |
| 474 | 471 | printf(" { \"%.*s\",%*s%s,%*szHelp%03d, %3d, 0x%03x },\n", |
| 475 | 472 | n, z, |
| 476 | 473 | 25-n, "", |
| 477 | 474 | aEntry[i].zFunc, |
| 478 | 475 |
| --- tools/mkindex.c | |
| +++ tools/mkindex.c | |
| @@ -414,11 +414,10 @@ | |
| 414 | ** Build the binary search table. |
| 415 | */ |
| 416 | void build_table(void){ |
| 417 | int i; |
| 418 | int nWeb = 0; |
| 419 | int nAlias = 0; |
| 420 | int mxLen = 0; |
| 421 | |
| 422 | qsort(aEntry, nFixed, sizeof(aEntry[0]), e_compare); |
| 423 | |
| 424 | printf( |
| @@ -466,12 +465,10 @@ | |
| 466 | if( n>mxLen ) mxLen = n; |
| 467 | if( aEntry[i].zIf ){ |
| 468 | printf("%s", aEntry[i].zIf); |
| 469 | }else if( (aEntry[i].eType & CMDFLAG_WEBPAGE)!=0 ){ |
| 470 | nWeb++; |
| 471 | }else if( (aEntry[i].eType & CMDFLAG_ALIAS)!=0 ){ |
| 472 | nAlias++; |
| 473 | } |
| 474 | printf(" { \"%.*s\",%*s%s,%*szHelp%03d, %3d, 0x%03x },\n", |
| 475 | n, z, |
| 476 | 25-n, "", |
| 477 | aEntry[i].zFunc, |
| 478 |
| --- tools/mkindex.c | |
| +++ tools/mkindex.c | |
| @@ -414,11 +414,10 @@ | |
| 414 | ** Build the binary search table. |
| 415 | */ |
| 416 | void build_table(void){ |
| 417 | int i; |
| 418 | int nWeb = 0; |
| 419 | int mxLen = 0; |
| 420 | |
| 421 | qsort(aEntry, nFixed, sizeof(aEntry[0]), e_compare); |
| 422 | |
| 423 | printf( |
| @@ -466,12 +465,10 @@ | |
| 465 | if( n>mxLen ) mxLen = n; |
| 466 | if( aEntry[i].zIf ){ |
| 467 | printf("%s", aEntry[i].zIf); |
| 468 | }else if( (aEntry[i].eType & CMDFLAG_WEBPAGE)!=0 ){ |
| 469 | nWeb++; |
| 470 | } |
| 471 | printf(" { \"%.*s\",%*s%s,%*szHelp%03d, %3d, 0x%03x },\n", |
| 472 | n, z, |
| 473 | 25-n, "", |
| 474 | aEntry[i].zFunc, |
| 475 |