diff options
author | drh <drh@noemail.net> | 2009-11-01 19:26:59 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2009-11-01 19:26:59 +0000 |
commit | 1d452e1de04a1280cfed1ece64dae32dc8b204e7 (patch) | |
tree | 3005c146253c2d1a073ed3b18f801bbb16c44a72 /src/os_unix.c | |
parent | 1aca4f968cad57e9bc7b59018aaaf5e2f5bd2b27 (diff) | |
download | sqlite-1d452e1de04a1280cfed1ece64dae32dc8b204e7.tar.gz sqlite-1d452e1de04a1280cfed1ece64dae32dc8b204e7.zip |
Fix compiler warnings. Better comments on some variables associated with
LIKE/GLOB processing in the query planner.
FossilOrigin-Name: cfa2db0ff7a94e7f66c35f672ee41cadd45a6dd7
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ |