aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeaux.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2011-04-01 01:38:02 +0000
committerdrh <drh@noemail.net>2011-04-01 01:38:02 +0000
commit76a32a81e400fc3b38fe70962ca7c98c70ea015c (patch)
treeaa63b49459cafe46255d524587ca20c5306b3ced /src/vdbeaux.c
parent661d71af8c1a47ebef22904e44cb9bce3b81bc3e (diff)
downloadsqlite-76a32a81e400fc3b38fe70962ca7c98c70ea015c.tar.gz
sqlite-76a32a81e400fc3b38fe70962ca7c98c70ea015c.zip
Fix a compiler warning and an unreachable branch. Restore 100% branch test
coverage. FossilOrigin-Name: 4dc148bb4cec5ecba167cdcb4959a4f0fa05a96f
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);
}