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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user