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

Fix harmless compiler warnings.

FossilOrigin-Name: ddb260cc52efce6472b9423cbc6b788d8c38746f1842c9f1c184c08c651b3387
This commit is contained in:
drh
2022-12-15 13:45:49 +00:00
parent 8b58fbf5ee
commit 569aef04b0
4 changed files with 14 additions and 14 deletions

View File

@@ -2331,7 +2331,7 @@ void sqlite3SubqueryColumnTypes(
a = pSelect->pEList->a;
for(i=0, pCol=pTab->aCol; i<pTab->nCol; i++, pCol++){
const char *zType;
i64 n, m;
i64 n;
pTab->tabFlags |= (pCol->colFlags & COLFLAG_NOINSERT);
p = a[i].pExpr;
/* pCol->szEst = ... // Column size est for SELECT tables never used */
@@ -2370,7 +2370,7 @@ void sqlite3SubqueryColumnTypes(
}
}
if( zType ){
m = sqlite3Strlen30(zType);
i64 m = sqlite3Strlen30(zType);
n = sqlite3Strlen30(pCol->zCnName);
pCol->zCnName = sqlite3DbReallocOrFree(db, pCol->zCnName, n+m+2);
if( pCol->zCnName ){