aboutsummaryrefslogtreecommitdiff
path: root/src/test_malloc.c
diff options
context:
space:
mode:
authormistachkin <mistachkin@noemail.net>2015-01-12 19:59:12 +0000
committermistachkin <mistachkin@noemail.net>2015-01-12 19:59:12 +0000
commit7bb22ac7ffe89a16df4dd760121781e2edd428c8 (patch)
treed0a86216e4d89bfab5ffb2fd27770f031e256c39 /src/test_malloc.c
parent27b2f05335a0fff69656fe54c3904fd3ee670a6e (diff)
downloadsqlite-7bb22ac7ffe89a16df4dd760121781e2edd428c8.tar.gz
sqlite-7bb22ac7ffe89a16df4dd760121781e2edd428c8.zip
Silence some harmless uninitialized local variable warnings.
FossilOrigin-Name: 44375a34e59d1b0f0d765a99dcc7e6f30a4be7f7
Diffstat (limited to 'src/test_malloc.c')
-rw-r--r--src/test_malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test_malloc.c b/src/test_malloc.c
index 54a89472d..1ea4de506 100644
--- a/src/test_malloc.c
+++ b/src/test_malloc.c
@@ -1338,7 +1338,7 @@ static int test_status(
Tcl_Obj *CONST objv[]
){
int rc, iValue, mxValue;
- int i, op, resetFlag;
+ int i, op = 0, resetFlag;
const char *zOpName;
static const struct {
const char *zName;
@@ -1395,7 +1395,7 @@ static int test_db_status(
Tcl_Obj *CONST objv[]
){
int rc, iValue, mxValue;
- int i, op, resetFlag;
+ int i, op = 0, resetFlag;
const char *zOpName;
sqlite3 *db;
extern int getDbPointer(Tcl_Interp*, const char*, sqlite3**);