diff options
author | danielk1977 <danielk1977@noemail.net> | 2006-06-26 11:17:50 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2006-06-26 11:17:50 +0000 |
commit | a2e48b24c780350d224548b07bd267272e90fa49 (patch) | |
tree | 32c00ff09fe9c0e50e116dff55fc84f8ba0798bd /src | |
parent | 605903f42e89bd585a536c4d8c0602ed667760f4 (diff) | |
download | sqlite-a2e48b24c780350d224548b07bd267272e90fa49.tar.gz sqlite-a2e48b24c780350d224548b07bd267272e90fa49.zip |
Fix trivial compiler warnings. (CVS 3295)
FossilOrigin-Name: 3538beace8ece6339fe8aaf40852ce5e5e7da283
Diffstat (limited to 'src')
-rw-r--r-- | src/test_tclvar.c | 3 | ||||
-rw-r--r-- | src/vdbeaux.c | 1 | ||||
-rw-r--r-- | src/vtab.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/test_tclvar.c b/src/test_tclvar.c index daa86e780..d92100a28 100644 --- a/src/test_tclvar.c +++ b/src/test_tclvar.c @@ -16,7 +16,7 @@ ** The emphasis of this file is a virtual table that provides ** access to TCL variables. ** -** $Id: test_tclvar.c,v 1.3 2006/06/15 04:28:13 danielk1977 Exp $ +** $Id: test_tclvar.c,v 1.4 2006/06/26 11:17:51 danielk1977 Exp $ */ #include "sqliteInt.h" #include "tcl.h" @@ -136,6 +136,7 @@ static sqlite3_module tclvarModule = { tclvarClose, /* xClose - close a cursor */ tclvarFilter, /* xFilter - configure scan constraints */ tclvarNext, /* xNext - advance a cursor */ + 0, /* xEof - check for end of scan */ tclvarColumn, /* xColumn - read data */ tclvarRowid /* xRowid - read data */ }; diff --git a/src/vdbeaux.c b/src/vdbeaux.c index ca88ec9ee..b95d690f7 100644 --- a/src/vdbeaux.c +++ b/src/vdbeaux.c @@ -850,7 +850,6 @@ void sqlite3VdbeFreeCursor(Vdbe *p, Cursor *pCx){ #ifndef SQLITE_OMIT_VIRTUALTABLE if( pCx->pVtabCursor ){ sqlite3_vtab_cursor *pVtabCursor = pCx->pVtabCursor; - sqlite3_vtab *pVtab = pVtabCursor->pVtab; const sqlite3_module *pModule = pCx->pModule; p->inVtabMethod = 1; pModule->xClose(pVtabCursor); diff --git a/src/vtab.c b/src/vtab.c index 0e4447934..f687a251f 100644 --- a/src/vtab.c +++ b/src/vtab.c @@ -11,7 +11,7 @@ ************************************************************************* ** This file contains code used to help implement virtual tables. ** -** $Id: vtab.c,v 1.24 2006/06/24 09:34:23 danielk1977 Exp $ +** $Id: vtab.c,v 1.25 2006/06/26 11:17:51 danielk1977 Exp $ */ #ifndef SQLITE_OMIT_VIRTUALTABLE #include "sqliteInt.h" @@ -139,7 +139,7 @@ void sqlite3VtabBeginParse( */ static void addArgumentToVtab(Parse *pParse){ if( pParse->sArg.z && pParse->pNewTable ){ - char *z = pParse->sArg.z; + const char *z = pParse->sArg.z; int n = pParse->sArg.n; addModuleArgument(pParse->pNewTable, sqliteStrNDup(z, n)); } |