diff options
author | drh <drh@noemail.net> | 2013-11-08 17:13:23 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2013-11-08 17:13:23 +0000 |
commit | 511717c64500ec84ca2d30c745a613b2c49127e0 (patch) | |
tree | 6f3c09940f9f65ec7e35546a9b564918e8bdb7be /src/resolve.c | |
parent | 95a5bcbb007417fedabc0c3508b6b640983804f5 (diff) | |
download | sqlite-511717c64500ec84ca2d30c745a613b2c49127e0.tar.gz sqlite-511717c64500ec84ca2d30c745a613b2c49127e0.zip |
Fix harmless compiler warnings.
FossilOrigin-Name: 0077c0772a884b54d81fa3733aac6f0c364ef1a8
Diffstat (limited to 'src/resolve.c')
-rw-r--r-- | src/resolve.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resolve.c b/src/resolve.c index e17e488e3..b41f23442 100644 --- a/src/resolve.c +++ b/src/resolve.c @@ -343,8 +343,7 @@ static int lookupName( int iCol; pSchema = pTab->pSchema; cntTab++; - for(iCol=0; iCol<pTab->nCol; iCol++){ - Column *pCol = &pTab->aCol[iCol]; + for(iCol=0, pCol=pTab->aCol; iCol<pTab->nCol; iCol++, pCol++){ if( sqlite3StrICmp(pCol->zName, zCol)==0 ){ if( iCol==pTab->iPKey ){ iCol = -1; |