From 1d452e1de04a1280cfed1ece64dae32dc8b204e7 Mon Sep 17 00:00:00 2001 From: drh Date: Sun, 1 Nov 2009 19:26:59 +0000 Subject: Fix compiler warnings. Better comments on some variables associated with LIKE/GLOB processing in the query planner. FossilOrigin-Name: cfa2db0ff7a94e7f66c35f672ee41cadd45a6dd7 --- src/os_unix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/os_unix.c') diff --git a/src/os_unix.c b/src/os_unix.c index 37447ac40..b31fbab21 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -2542,7 +2542,8 @@ static int afpLock(sqlite3_file *id, int locktype){ ** operating system calls for the specified lock. */ if( locktype==SHARED_LOCK ){ - int lk, lrc1, lrc2, lrc1Errno; + int lk, lrc1, lrc2; + int lrc1Errno = 0; /* Now get the read-lock SHARED_LOCK */ /* note that the quality of the randomness doesn't matter that much */ -- cgit v1.2.3