diff options
author | drh <drh@noemail.net> | 2014-01-22 18:31:27 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2014-01-22 18:31:27 +0000 |
commit | edf83d1e3d13058d0b3ea87e88817a73ef35ee84 (patch) | |
tree | b15d55748ee919bb877082ef4bb8e9320b33fa2a /src/expr.c | |
parent | 953dfa4e60a2080052d6423466af0c486e77a56a (diff) | |
download | sqlite-edf83d1e3d13058d0b3ea87e88817a73ef35ee84.tar.gz sqlite-edf83d1e3d13058d0b3ea87e88817a73ef35ee84.zip |
Fix harmless compiler warnings.
FossilOrigin-Name: dea2ca6a159d5dcfd8deceedf1c2a73fb4ac1cfc
Diffstat (limited to 'src/expr.c')
-rw-r--r-- | src/expr.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/expr.c b/src/expr.c index 5f11dec42..2e8079eb8 100644 --- a/src/expr.c +++ b/src/expr.c @@ -1584,11 +1584,9 @@ int sqlite3FindInIndex(Parse *pParse, Expr *pX, int *prNotFound){ iCol = (i16)pExpr->iColumn; /* Code an OP_VerifyCookie and OP_TableLock for <table>. */ - if( ALWAYS(pTab->pSchema) ){ - iDb = sqlite3SchemaToIndex(db, pTab->pSchema); - sqlite3CodeVerifySchema(pParse, iDb); - sqlite3TableLock(pParse, iDb, pTab->tnum, 0, pTab->zName); - } + iDb = sqlite3SchemaToIndex(db, pTab->pSchema); + sqlite3CodeVerifySchema(pParse, iDb); + sqlite3TableLock(pParse, iDb, pTab->tnum, 0, pTab->zName); /* This function is only called from two places. In both cases the vdbe ** has already been allocated. So assume sqlite3GetVdbe() is always |