1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix harmless uninitialized variable warnings in speedtest1.c.

FossilOrigin-Name: 2aa7a03b8632dbfd9741018b5b19c372dcfd3647
This commit is contained in:
drh
2016-10-18 15:29:57 +00:00
parent f8a89ca5dd
commit ba69061ebc
3 changed files with 10 additions and 9 deletions

View File

@ -463,11 +463,12 @@ void testset_main(void){
int n; /* iteration count */
int sz; /* Size of the tables */
int maxb; /* Maximum swizzled value */
unsigned x1, x2; /* Parameters */
int len; /* Length of the zNum[] string */
unsigned x1 = 0, x2 = 0; /* Parameters */
int len = 0; /* Length of the zNum[] string */
char zNum[2000]; /* A number name */
sz = n = g.szTest*500;
zNum[0] = 0;
maxb = roundup_allones(sz);
speedtest1_begin_test(100, "%d INSERTs into table with no index", n);
speedtest1_exec("BEGIN");