Fossil SCM
Remove two unused variables (introduced by [2efcd19f14] through copy-and-paste)
Commit
cf0f6fc80b467f641f0c376a5fdfddb3ea49f2450a685513ebb0110c291e3cfa
Parent
8f2d519bc01d7e1…
1 file changed
-2
-2
| --- src/tag.c | ||
| +++ src/tag.c | ||
| @@ -492,11 +492,10 @@ | ||
| 492 | 492 | }else |
| 493 | 493 | |
| 494 | 494 | if( strncmp(g.argv[2],"find",n)==0 ){ |
| 495 | 495 | Stmt q; |
| 496 | 496 | int fRaw = find_option("raw","",0)!=0; |
| 497 | - const char *zPrefix = fRaw ? "" : "sym-"; | |
| 498 | 497 | const char *zFindLimit = find_option("limit","n",1); |
| 499 | 498 | const int nFindLimit = zFindLimit ? atoi(zFindLimit) : -2000; |
| 500 | 499 | const char *zType = find_option("type","t",1); |
| 501 | 500 | Blob sql = empty_blob; |
| 502 | 501 | if( zType==0 || zType[0]==0 ) zType = "*"; |
| @@ -543,11 +542,10 @@ | ||
| 543 | 542 | }else |
| 544 | 543 | |
| 545 | 544 | if(( strncmp(g.argv[2],"list",n)==0 )||( strncmp(g.argv[2],"ls",n)==0 )){ |
| 546 | 545 | Stmt q; |
| 547 | 546 | int fRaw = find_option("raw","",0)!=0; |
| 548 | - const char *zPrefix = fRaw ? "" : "sym-"; | |
| 549 | 547 | if( g.argc==3 ){ |
| 550 | 548 | db_prepare(&q, |
| 551 | 549 | "SELECT tagname FROM tag" |
| 552 | 550 | " WHERE EXISTS(SELECT 1 FROM tagxref" |
| 553 | 551 | " WHERE tagid=tag.tagid" |
| 554 | 552 |
| --- src/tag.c | |
| +++ src/tag.c | |
| @@ -492,11 +492,10 @@ | |
| 492 | }else |
| 493 | |
| 494 | if( strncmp(g.argv[2],"find",n)==0 ){ |
| 495 | Stmt q; |
| 496 | int fRaw = find_option("raw","",0)!=0; |
| 497 | const char *zPrefix = fRaw ? "" : "sym-"; |
| 498 | const char *zFindLimit = find_option("limit","n",1); |
| 499 | const int nFindLimit = zFindLimit ? atoi(zFindLimit) : -2000; |
| 500 | const char *zType = find_option("type","t",1); |
| 501 | Blob sql = empty_blob; |
| 502 | if( zType==0 || zType[0]==0 ) zType = "*"; |
| @@ -543,11 +542,10 @@ | |
| 543 | }else |
| 544 | |
| 545 | if(( strncmp(g.argv[2],"list",n)==0 )||( strncmp(g.argv[2],"ls",n)==0 )){ |
| 546 | Stmt q; |
| 547 | int fRaw = find_option("raw","",0)!=0; |
| 548 | const char *zPrefix = fRaw ? "" : "sym-"; |
| 549 | if( g.argc==3 ){ |
| 550 | db_prepare(&q, |
| 551 | "SELECT tagname FROM tag" |
| 552 | " WHERE EXISTS(SELECT 1 FROM tagxref" |
| 553 | " WHERE tagid=tag.tagid" |
| 554 |
| --- src/tag.c | |
| +++ src/tag.c | |
| @@ -492,11 +492,10 @@ | |
| 492 | }else |
| 493 | |
| 494 | if( strncmp(g.argv[2],"find",n)==0 ){ |
| 495 | Stmt q; |
| 496 | int fRaw = find_option("raw","",0)!=0; |
| 497 | const char *zFindLimit = find_option("limit","n",1); |
| 498 | const int nFindLimit = zFindLimit ? atoi(zFindLimit) : -2000; |
| 499 | const char *zType = find_option("type","t",1); |
| 500 | Blob sql = empty_blob; |
| 501 | if( zType==0 || zType[0]==0 ) zType = "*"; |
| @@ -543,11 +542,10 @@ | |
| 542 | }else |
| 543 | |
| 544 | if(( strncmp(g.argv[2],"list",n)==0 )||( strncmp(g.argv[2],"ls",n)==0 )){ |
| 545 | Stmt q; |
| 546 | int fRaw = find_option("raw","",0)!=0; |
| 547 | if( g.argc==3 ){ |
| 548 | db_prepare(&q, |
| 549 | "SELECT tagname FROM tag" |
| 550 | " WHERE EXISTS(SELECT 1 FROM tagxref" |
| 551 | " WHERE tagid=tag.tagid" |
| 552 |