Fossil SCM
Fix compiler warnings.
Commit
57897a4189b69aba5f1c67effb84a99b42b4356d
Parent
f3d8588e6fe15d4…
3 files changed
-1
+1
-1
-1
-1
| --- src/piechart.c | ||
| +++ src/piechart.c | ||
| @@ -110,11 +110,10 @@ | ||
| 110 | 110 | double d1; /* radius to x4,y4 */ |
| 111 | 111 | const char *zAnc; /* Anchor point for text */ |
| 112 | 112 | double a1 = 0.0; /* Angle for first edge of slice */ |
| 113 | 113 | double a2; /* Angle for second edge */ |
| 114 | 114 | double a3; /* Angle at middle of slice */ |
| 115 | - int rot; /* Text rotation angle */ | |
| 116 | 115 | unsigned char h; /* Hue */ |
| 117 | 116 | const char *zClr; /* Color */ |
| 118 | 117 | int l; /* Large arc flag */ |
| 119 | 118 | int j; /* Wedge number */ |
| 120 | 119 | double rTotal; /* Total piechart.amt */ |
| 121 | 120 |
| --- src/piechart.c | |
| +++ src/piechart.c | |
| @@ -110,11 +110,10 @@ | |
| 110 | double d1; /* radius to x4,y4 */ |
| 111 | const char *zAnc; /* Anchor point for text */ |
| 112 | double a1 = 0.0; /* Angle for first edge of slice */ |
| 113 | double a2; /* Angle for second edge */ |
| 114 | double a3; /* Angle at middle of slice */ |
| 115 | int rot; /* Text rotation angle */ |
| 116 | unsigned char h; /* Hue */ |
| 117 | const char *zClr; /* Color */ |
| 118 | int l; /* Large arc flag */ |
| 119 | int j; /* Wedge number */ |
| 120 | double rTotal; /* Total piechart.amt */ |
| 121 |
| --- src/piechart.c | |
| +++ src/piechart.c | |
| @@ -110,11 +110,10 @@ | |
| 110 | double d1; /* radius to x4,y4 */ |
| 111 | const char *zAnc; /* Anchor point for text */ |
| 112 | double a1 = 0.0; /* Angle for first edge of slice */ |
| 113 | double a2; /* Angle for second edge */ |
| 114 | double a3; /* Angle at middle of slice */ |
| 115 | unsigned char h; /* Hue */ |
| 116 | const char *zClr; /* Color */ |
| 117 | int l; /* Large arc flag */ |
| 118 | int j; /* Wedge number */ |
| 119 | double rTotal; /* Total piechart.amt */ |
| 120 |
+1
-1
| --- src/rebuild.c | ||
| +++ src/rebuild.c | ||
| @@ -543,11 +543,11 @@ | ||
| 543 | 543 | ** See also: deconstruct, reconstruct |
| 544 | 544 | */ |
| 545 | 545 | void rebuild_database(void){ |
| 546 | 546 | int forceFlag; |
| 547 | 547 | int randomizeFlag; |
| 548 | - int errCnt; | |
| 548 | + int errCnt = 0; | |
| 549 | 549 | int omitVerify; |
| 550 | 550 | int doClustering; |
| 551 | 551 | const char *zPagesize; |
| 552 | 552 | int newPagesize = 0; |
| 553 | 553 | int activateWal; |
| 554 | 554 |
| --- src/rebuild.c | |
| +++ src/rebuild.c | |
| @@ -543,11 +543,11 @@ | |
| 543 | ** See also: deconstruct, reconstruct |
| 544 | */ |
| 545 | void rebuild_database(void){ |
| 546 | int forceFlag; |
| 547 | int randomizeFlag; |
| 548 | int errCnt; |
| 549 | int omitVerify; |
| 550 | int doClustering; |
| 551 | const char *zPagesize; |
| 552 | int newPagesize = 0; |
| 553 | int activateWal; |
| 554 |
| --- src/rebuild.c | |
| +++ src/rebuild.c | |
| @@ -543,11 +543,11 @@ | |
| 543 | ** See also: deconstruct, reconstruct |
| 544 | */ |
| 545 | void rebuild_database(void){ |
| 546 | int forceFlag; |
| 547 | int randomizeFlag; |
| 548 | int errCnt = 0; |
| 549 | int omitVerify; |
| 550 | int doClustering; |
| 551 | const char *zPagesize; |
| 552 | int newPagesize = 0; |
| 553 | int activateWal; |
| 554 |
-1
| --- src/stat.c | ||
| +++ src/stat.c | ||
| @@ -380,11 +380,10 @@ | ||
| 380 | 380 | ** WEBPAGE: repo-tabsize |
| 381 | 381 | ** |
| 382 | 382 | ** Show relative sizes of tables in the repository database. |
| 383 | 383 | */ |
| 384 | 384 | void repo_tabsize_page(void){ |
| 385 | - Stmt q; | |
| 386 | 385 | int nPageFree; |
| 387 | 386 | sqlite3_int64 fsize; |
| 388 | 387 | char zBuf[100]; |
| 389 | 388 | |
| 390 | 389 | login_check_credentials(); |
| 391 | 390 |
| --- src/stat.c | |
| +++ src/stat.c | |
| @@ -380,11 +380,10 @@ | |
| 380 | ** WEBPAGE: repo-tabsize |
| 381 | ** |
| 382 | ** Show relative sizes of tables in the repository database. |
| 383 | */ |
| 384 | void repo_tabsize_page(void){ |
| 385 | Stmt q; |
| 386 | int nPageFree; |
| 387 | sqlite3_int64 fsize; |
| 388 | char zBuf[100]; |
| 389 | |
| 390 | login_check_credentials(); |
| 391 |
| --- src/stat.c | |
| +++ src/stat.c | |
| @@ -380,11 +380,10 @@ | |
| 380 | ** WEBPAGE: repo-tabsize |
| 381 | ** |
| 382 | ** Show relative sizes of tables in the repository database. |
| 383 | */ |
| 384 | void repo_tabsize_page(void){ |
| 385 | int nPageFree; |
| 386 | sqlite3_int64 fsize; |
| 387 | char zBuf[100]; |
| 388 | |
| 389 | login_check_credentials(); |
| 390 |