1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Fix some compiler warnings in test code. (CVS 6392)

FossilOrigin-Name: a43ecc9cb91ea8693e0fcce12c1bb5c5e4baf434
This commit is contained in:
drh
2009-03-27 12:32:54 +00:00
parent 62e5a81a5a
commit 69910da997
5 changed files with 20 additions and 14 deletions

View File

@@ -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.239 2009/03/24 15:08:10 drh Exp $
** $Id: tclsqlite.c,v 1.240 2009/03/27 12:32:55 drh Exp $
*/
#include "tcl.h"
#include <errno.h>
@@ -587,6 +587,7 @@ static void setTestUnlockNotifyVars(Tcl_Interp *interp, int iArg, int nArg){
#define setTestUnlockNotifyVars(x,y,z)
#endif
#ifdef SQLITE_ENABLE_UNLOCK_NOTIFY
static void DbUnlockNotify(void **apArg, int nArg){
int i;
for(i=0; i<nArg; i++){
@@ -599,6 +600,7 @@ static void DbUnlockNotify(void **apArg, int nArg){
pDb->pUnlockNotify = 0;
}
}
#endif
static void DbUpdateHandler(
void *p,