1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-08 03:22:21 +03:00

Replace some unreachable branch instructions with assert() statements.

FossilOrigin-Name: 88b84bf18a4b27626f8a0a2d313706ddd4f13749
This commit is contained in:
drh
2010-09-28 07:11:24 +00:00
parent 746fd9cc58
commit d81a142bfa
4 changed files with 13 additions and 14 deletions

View File

@@ -3052,8 +3052,7 @@ int sqlite3ExprCodeExprList(
int i, n;
assert( pList!=0 );
assert( target>0 );
assert( pParse->pVdbe || pParse->db->mallocFailed );
if( pParse->pVdbe==0 ) return 0;
assert( pParse->pVdbe!=0 ); /* Never gets this far otherwise */
n = pList->nExpr;
for(pItem=pList->a, i=0; i<n; i++, pItem++){
Expr *pExpr = pItem->pExpr;