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

Remove an unused variable from sqlite3SubqueryColumnTypes().

FossilOrigin-Name: c6e3ff396947e6954e77195419b35de8b39bd540d3f4bff456bab25b512e1792
This commit is contained in:
drh
2022-12-13 16:59:09 +00:00
parent 177b8c9c28
commit c799217cc8
3 changed files with 7 additions and 10 deletions

View File

@@ -2320,7 +2320,6 @@ void sqlite3SubqueryColumnTypes(
char aff /* Default affinity. Maybe with SQLITE_AFF_FLAG1 too */
){
sqlite3 *db = pParse->db;
NameContext sNC;
Column *pCol;
CollSeq *pColl;
int i,j;
@@ -2332,8 +2331,6 @@ void sqlite3SubqueryColumnTypes(
assert( pTab->nCol==pSelect->pEList->nExpr || db->mallocFailed );
if( db->mallocFailed ) return;
while( pSelect->pPrior ) pSelect = pSelect->pPrior;
memset(&sNC, 0, sizeof(sNC));
sNC.pSrcList = pSelect->pSrc;
a = pSelect->pEList->a;
for(i=0, pCol=pTab->aCol; i<pTab->nCol; i++, pCol++){
const char *zType;