diff options
author | drh <drh@noemail.net> | 2008-05-01 17:16:52 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2008-05-01 17:16:52 +0000 |
commit | 26e4a8b11d1873507746bdb5a98f1b68468b517d (patch) | |
tree | c36b7b64c91efea11efade074f77c4aefc4cfe5f /src/tclsqlite.c | |
parent | e265b08458046aacf966a79525acf955d33072cb (diff) | |
download | sqlite-26e4a8b11d1873507746bdb5a98f1b68468b517d.tar.gz sqlite-26e4a8b11d1873507746bdb5a98f1b68468b517d.zip |
Fix more compiler warnings. (CVS 5074)
FossilOrigin-Name: 59568844e774dbe89fd20bbc8f49a3665cc54717
Diffstat (limited to 'src/tclsqlite.c')
-rw-r--r-- | src/tclsqlite.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tclsqlite.c b/src/tclsqlite.c index 4818d898f..0fd4602e3 100644 --- a/src/tclsqlite.c +++ b/src/tclsqlite.c @@ -12,7 +12,7 @@ ** A TCL Interface to SQLite. Append this file to sqlite3.c and ** compile the whole thing to build a TCL-enabled version of SQLite. ** -** $Id: tclsqlite.c,v 1.216 2008/04/16 00:28:14 drh Exp $ +** $Id: tclsqlite.c,v 1.217 2008/05/01 17:16:53 drh Exp $ */ #include "tcl.h" #include <errno.h> @@ -479,6 +479,7 @@ static int DbBusyHandler(void *cd, int nTries){ return 1; } +#ifndef SQLITE_OMIT_PROGRESS_CALLBACK /* ** This routine is invoked as the 'progress callback' for the database. */ @@ -493,6 +494,7 @@ static int DbProgressHandler(void *cd){ } return 0; } +#endif #ifndef SQLITE_OMIT_TRACE /* |