diff options
author | drh <drh@noemail.net> | 2014-06-09 20:39:03 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2014-06-09 20:39:03 +0000 |
commit | 77ae7ca643692ddf6a85bd881bef4e1a5fe16452 (patch) | |
tree | aaecf9f9f68516b1ae555e42d2e45f289fbe59c2 /src/os_unix.c | |
parent | 4fd7111dcbfcfd1441f0ec7e3ffa5a655974341e (diff) | |
download | sqlite-77ae7ca643692ddf6a85bd881bef4e1a5fe16452.tar.gz sqlite-77ae7ca643692ddf6a85bd881bef4e1a5fe16452.zip |
Avoid an unnecessary initialization of the szFile field of unixFile in
the unix VFS.
FossilOrigin-Name: 6484fb5a25c2a0e5d26694285a4908a22c67ba17
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index ceb8cdb7f..72d04e670 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -5794,7 +5794,7 @@ static int unixOpen( } if( isDelete ){ - p->szFile = 0; + assert( p->szFile==0 ); #if OS_VXWORKS zPath = zName; #else |