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

Remove unused variable. Fix a compiler warning. (CVS 5319)

FossilOrigin-Name: 0b01ec5cf7725a02d4c12167df125cef578f6219
This commit is contained in:
drh
2008-06-27 00:52:45 +00:00
parent 66ba23ce86
commit 6fccc35a91
5 changed files with 15 additions and 17 deletions

View File

@@ -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);