Fossil SCM

Remove some unneeded code.

danield 2022-07-19 14:51 help-aliases-unique
Commit 83877bb727aec6792dfa5d9e3b0fc2788e54e0ab0bf09656e12e75e72f8c3628
1 file changed -3
--- tools/mkindex.c
+++ tools/mkindex.c
@@ -414,11 +414,10 @@
414414
** Build the binary search table.
415415
*/
416416
void build_table(void){
417417
int i;
418418
int nWeb = 0;
419
- int nAlias = 0;
420419
int mxLen = 0;
421420
422421
qsort(aEntry, nFixed, sizeof(aEntry[0]), e_compare);
423422
424423
printf(
@@ -466,12 +465,10 @@
466465
if( n>mxLen ) mxLen = n;
467466
if( aEntry[i].zIf ){
468467
printf("%s", aEntry[i].zIf);
469468
}else if( (aEntry[i].eType & CMDFLAG_WEBPAGE)!=0 ){
470469
nWeb++;
471
- }else if( (aEntry[i].eType & CMDFLAG_ALIAS)!=0 ){
472
- nAlias++;
473470
}
474471
printf(" { \"%.*s\",%*s%s,%*szHelp%03d, %3d, 0x%03x },\n",
475472
n, z,
476473
25-n, "",
477474
aEntry[i].zFunc,
478475
--- 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

Keyboard Shortcuts

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