diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/analyze.c | 1 | ||||
-rw-r--r-- | src/vdbeaux.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/analyze.c b/src/analyze.c index d930a12ab..22ff38822 100644 --- a/src/analyze.c +++ b/src/analyze.c @@ -113,7 +113,6 @@ static void analyzeOneTable( int i; /* Loop counter */ int topOfLoop; /* The top of the loop */ int endOfLoop; /* The end of the loop */ - int addr = 0; /* The address of an instruction */ int jZeroRows = -1; /* Jump from here if number of rows is zero */ int iDb; /* Index of database containing pTab */ int regTabname = iMem++; /* Register containing table name */ diff --git a/src/vdbeaux.c b/src/vdbeaux.c index c013d3c72..7cab12f78 100644 --- a/src/vdbeaux.c +++ b/src/vdbeaux.c @@ -559,7 +559,8 @@ void sqlite3VdbeChangeP5(Vdbe *p, u8 val){ ** the address of the next instruction to be coded. */ void sqlite3VdbeJumpHere(Vdbe *p, int addr){ - if( addr>=0 ) sqlite3VdbeChangeP2(p, addr, p->nOp); + assert( addr>=0 ); + sqlite3VdbeChangeP2(p, addr, p->nOp); } |