1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Fix an uninitialized variable in the decoder kv-vfs.

FossilOrigin-Name: 354726aa6c399053785f29104de15091629ce4bc275b9e2205cb3656a9e81cd7
This commit is contained in:
drh
2022-09-17 18:31:31 +00:00
parent 20a9ed1dc6
commit a50d3b7a5d
3 changed files with 8 additions and 8 deletions

View File

@@ -603,7 +603,7 @@ static void kvvfsDecodeJournal(
const char *zTxt, /* Text encoding. Zero-terminated */
int nTxt /* Bytes in zTxt, excluding zero terminator */
){
unsigned int n;
unsigned int n = 0;
int c, i, mult;
i = 0;
mult = 1;