1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Minor changes to remove a few MSVC compiler warnings at /W3. Ticket #3610. (CVS 6215)

FossilOrigin-Name: c74c78e4eb7f6d674b7564b33387db996fbe5725
This commit is contained in:
shane
2009-01-30 05:40:27 +00:00
parent db15bcd550
commit d87897dfa2
7 changed files with 31 additions and 27 deletions

View File

@@ -11,7 +11,7 @@
*************************************************************************
** This file contains the C functions that implement mutexes for win32
**
** $Id: mutex_w32.c,v 1.13 2008/12/08 18:19:18 drh Exp $
** $Id: mutex_w32.c,v 1.14 2009/01/30 05:40:27 shane Exp $
*/
#include "sqliteInt.h"
@@ -195,6 +195,7 @@ static void winMutexEnter(sqlite3_mutex *p){
}
static int winMutexTry(sqlite3_mutex *p){
int rc = SQLITE_BUSY;
UNUSED_PARAMETER(p);
assert( p->id==SQLITE_MUTEX_RECURSIVE || winMutexNotheld(p) );
/*
** The sqlite3_mutex_try() routine is very rarely used, and when it