1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix a harmless compiler warning in FTS3.

FossilOrigin-Name: 68d02d3c2ab1b4afff2d3a71516ceee404fad0d2b717369ad732832c4f9b19a8
This commit is contained in:
drh
2023-01-25 21:28:30 +00:00
parent e9b20a9c4b
commit e3d71c078b
3 changed files with 8 additions and 7 deletions

View File

@ -5771,6 +5771,7 @@ static void fts3EvalUpdateCounts(Fts3Expr *pExpr, int nCol){
*/
static int fts3AllocateMSI(Fts3Expr *pExpr, int iPhrase, void *pCtx){
Fts3Table *pTab = (Fts3Table*)pCtx;
UNUSED_PARAMETER(iPhrase);
if( pExpr->aMI==0 ){
pExpr->aMI = (u32 *)sqlite3_malloc64(pTab->nColumn * 3 * sizeof(u32));
if( pExpr->aMI==0 ) return SQLITE_NOMEM;