diff options
author | drh <drh@noemail.net> | 2009-03-27 12:44:35 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2009-03-27 12:44:35 +0000 |
commit | bcf4f4840bc2ae8b57c3e5e65c945ee402a3898b (patch) | |
tree | bd043c9fc8d7dfe6b3fe5071a698fc7cf34546cf /src/tclsqlite.c | |
parent | 69910da997fa3973ef71aa1d94a93494da800fb8 (diff) | |
download | sqlite-bcf4f4840bc2ae8b57c3e5e65c945ee402a3898b.tar.gz sqlite-bcf4f4840bc2ae8b57c3e5e65c945ee402a3898b.zip |
Fix another compiler warning in the test logic of tclsqlite.c. (CVS 6393)
FossilOrigin-Name: 47ffc4dca8f106d0da8cbc0a8ff7453016e9b40d
Diffstat (limited to 'src/tclsqlite.c')
-rw-r--r-- | src/tclsqlite.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tclsqlite.c b/src/tclsqlite.c index 854bbb0f0..4c6c5fc31 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.240 2009/03/27 12:32:55 drh Exp $ +** $Id: tclsqlite.c,v 1.241 2009/03/27 12:44:35 drh Exp $ */ #include "tcl.h" #include <errno.h> @@ -575,7 +575,7 @@ static void DbRollbackHandler(void *clientData){ } } -#ifdef SQLITE_TEST +#if defined(SQLITE_TEST) && defined(SQLITE_ENABLE_UNLOCK_NOTIFY) static void setTestUnlockNotifyVars(Tcl_Interp *interp, int iArg, int nArg){ char zBuf[64]; sprintf(zBuf, "%d", iArg); @@ -584,7 +584,7 @@ static void setTestUnlockNotifyVars(Tcl_Interp *interp, int iArg, int nArg){ Tcl_SetVar(interp, "sqlite_unlock_notify_argcount", zBuf, TCL_GLOBAL_ONLY); } #else - #define setTestUnlockNotifyVars(x,y,z) +# define setTestUnlockNotifyVars(x,y,z) #endif #ifdef SQLITE_ENABLE_UNLOCK_NOTIFY |