aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2019-04-19 23:05:56 +0000
committerdrh <drh@noemail.net>2019-04-19 23:05:56 +0000
commit1d2d71a02cac0e4a13d54ae1bd3b3351abbf9828 (patch)
tree18937636f9457c1663b245e633406785d2ca57f0 /src/expr.c
parent6b23603eb9ab79dac61a232b2b1c8f6857ecb329 (diff)
downloadsqlite-1d2d71a02cac0e4a13d54ae1bd3b3351abbf9828.tar.gz
sqlite-1d2d71a02cac0e4a13d54ae1bd3b3351abbf9828.zip
Mark a single branch as no longer reachable.
FossilOrigin-Name: 4f35b3b78a461b0617a5cd04f60d2ab277bcc7c994dae463851a3cb5d041a723
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr.c b/src/expr.c
index 874a044d7..ca63eb66c 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -2079,7 +2079,7 @@ int sqlite3ExprContainsSubquery(Expr *p){
*/
int sqlite3ExprIsInteger(Expr *p, int *pValue){
int rc = 0;
- if( p==0 ) return 0; /* Can only happen following on OOM */
+ if( NEVER(p==0) ) return 0; /* Used to only happen following on OOM */
/* If an expression is an integer literal that fits in a signed 32-bit
** integer, then the EP_IntValue flag will have already been set */