From 5a5b987675431c3cb4b488ce64f0b75feb406cfa Mon Sep 17 00:00:00 2001 From: Joe Mistachkin Date: Sat, 7 Oct 2017 23:35:40 +0000 Subject: [PATCH] Revise variable declaration moved in the previous check-in so sqlite3VdbeReset() is consistent with sqlite3VdbeRewind(). --- src/vdbeaux.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/vdbeaux.c b/src/vdbeaux.c index 88b38f77bd..6ec8b30680 100644 --- a/src/vdbeaux.c +++ b/src/vdbeaux.c @@ -2868,7 +2868,7 @@ static void vdbeInvokeSqllog(Vdbe *v){ ** VDBE_MAGIC_INIT. */ int sqlite3VdbeReset(Vdbe *p){ -#ifdef SQLITE_DEBUG +#if defined(SQLITE_DEBUG) || defined(VDBE_PROFILE) int i; #endif @@ -2918,7 +2918,6 @@ int sqlite3VdbeReset(Vdbe *p){ { FILE *out = fopen("vdbe_profile.out", "a"); if( out ){ - int i; fprintf(out, "---- "); for(i=0; inOp; i++){ fprintf(out, "%02x", p->aOp[i].opcode); -- 2.11.4.GIT