1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Fix compiler warnings. Better comments on some variables associated with

LIKE/GLOB processing in the query planner.

FossilOrigin-Name: cfa2db0ff7a94e7f66c35f672ee41cadd45a6dd7
This commit is contained in:
drh
2009-11-01 19:26:59 +00:00
parent 1aca4f968c
commit 1d452e1de0
5 changed files with 26 additions and 23 deletions

View File

@@ -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 */