diff options
author | drh <drh@noemail.net> | 2008-06-27 00:52:45 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2008-06-27 00:52:45 +0000 |
commit | 6fccc35a9187673f97fed9ddedd06363e4c9b55e (patch) | |
tree | 85b4e814d2685749ab29818aaec2c4dcc22b78af /src/select.c | |
parent | 66ba23ce86f1dee79b3f3f47e9fb7fd6f6b3dd33 (diff) | |
download | sqlite-6fccc35a9187673f97fed9ddedd06363e4c9b55e.tar.gz sqlite-6fccc35a9187673f97fed9ddedd06363e4c9b55e.zip |
Remove unused variable. Fix a compiler warning. (CVS 5319)
FossilOrigin-Name: 0b01ec5cf7725a02d4c12167df125cef578f6219
Diffstat (limited to 'src/select.c')
-rw-r--r-- | src/select.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/select.c b/src/select.c index 7f5be1177..ddd03726c 100644 --- a/src/select.c +++ b/src/select.c @@ -12,7 +12,7 @@ ** This file contains C code routines that are called by the parser ** to handle SELECT statements in SQLite. ** -** $Id: select.c,v 1.438 2008/06/27 00:47:29 drh Exp $ +** $Id: select.c,v 1.439 2008/06/27 00:52:45 drh Exp $ */ #include "sqliteInt.h" @@ -652,8 +652,6 @@ static void selectInnerLoop( ** item into the set table with bogus data. */ case SRT_Set: { - int addr2; - assert( nColumn==1 ); p->affinity = sqlite3CompareAffinity(pEList->a[0].pExpr, pDest->affinity); if( pOrderBy ){ @@ -2384,7 +2382,7 @@ static int generateOutputSubroutine( ** item into the set table with bogus data. */ case SRT_Set: { - int addr2, r1; + int r1; assert( pIn->nMem==1 ); p->affinity = sqlite3CompareAffinity(p->pEList->a[0].pExpr, pDest->affinity); |