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

Avoid incorrect compiler warnings by doing a couple of needless

variable initializations.

FossilOrigin-Name: 8f29490da62df07ea922b03cab52b6edd2669edb
This commit is contained in:
drh
2010-02-26 13:07:37 +00:00
parent 0d06d98980
commit 383d30f483
4 changed files with 13 additions and 13 deletions

View File

@@ -1248,7 +1248,7 @@ static int unixLock(sqlite3_file *id, int locktype){
struct unixLockInfo *pLock = pFile->pLock;
struct flock lock;
int s = 0;
int tErrno;
int tErrno = 0;
assert( pFile );
OSTRACE7("LOCK %d %s was %s(%s,%d) pid=%d (unix)\n", pFile->h,