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

Add an ALWAYS on an unreachable branch.

FossilOrigin-Name: 0dce6211690210e802545cbca9b3375e07075e117fad3f8c921879da7671d981
This commit is contained in:
drh
2024-03-17 00:13:12 +00:00
parent 1c5257dafc
commit e4a1b4da4f
3 changed files with 8 additions and 9 deletions

View File

@@ -583,7 +583,7 @@ void sqlite3AutoincrementEnd(Parse *pParse){
** co-routine.
*/
void sqlite3MultiValuesEnd(Parse *pParse, Select *pVal){
if( pVal && pVal->pSrc->nSrc>0 ){
if( ALWAYS(pVal) && pVal->pSrc->nSrc>0 ){
SrcItem *pItem = &pVal->pSrc->a[0];
sqlite3VdbeEndCoroutine(pParse->pVdbe, pItem->regReturn);
sqlite3VdbeJumpHere(pParse->pVdbe, pItem->addrFillSub - 1);