aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeaux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vdbeaux.c')
-rw-r--r--src/vdbeaux.c3
1 files changed, 2 insertions, 1 deletions
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);
}