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

Avoid incorrect compiler warnings by doing a couple of needless

variable initializations.

FossilOrigin-Name: 8f29490da62df07ea922b03cab52b6edd2669edb
This commit is contained in:
drh
2010-02-26 13:07:37 +00:00
parent 0d06d98980
commit 383d30f483
4 changed files with 13 additions and 13 deletions

View File

@@ -5323,7 +5323,7 @@ static void insertCell(
Pgno iChild, /* If non-zero, replace first 4 bytes with this value */
int *pRC /* Read and write return code from here */
){
int idx; /* Where to write new cell content in data[] */
int idx = 0; /* Where to write new cell content in data[] */
int j; /* Loop counter */
int end; /* First byte past the last cell pointer in data[] */
int ins; /* Index in data[] where new cell pointer is inserted */