Fossil SCM
Fix an uninitialized variable in the "fossil rebuild" command when using the --compress-only option.
Commit
1ab29c8299a1c218e32f05c947b6cc4fe37db57b
Parent
9fdfaf0f6854eaa…
1 file changed
+1
-1
+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 |