aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2010-05-10 17:29:28 +0000
committerdrh <drh@noemail.net>2010-05-10 17:29:28 +0000
commit1c5bb4d69c4737f6c47415d69a72f9f3a70ab8d8 (patch)
treecc5390a6fb0fb3c852ed9e1df051911582b53c03 /src
parentacd07818921cfffa70b677d61d0614ccb8c1429b (diff)
downloadsqlite-1c5bb4d69c4737f6c47415d69a72f9f3a70ab8d8.tar.gz
sqlite-1c5bb4d69c4737f6c47415d69a72f9f3a70ab8d8.zip
Fix an uninitialized variable in OSX proxy locking.
FossilOrigin-Name: 96d6eaf4d2be453191b36875811d9556ad0763ed
Diffstat (limited to 'src')
-rw-r--r--src/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index b7659dd34..8c10d1ed3 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -6127,7 +6127,7 @@ static int proxyTakeConch(unixFile *pFile){
** If pFile holds a lock on a conch file, then release that lock.
*/
static int proxyReleaseConch(unixFile *pFile){
- int rc; /* Subroutine return code */
+ int rc = SQLITE_OK; /* Subroutine return code */
proxyLockingContext *pCtx; /* The locking context for the proxy lock */
unixFile *conchFile; /* Name of the conch file */