mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Do not embedded #if inside an assert() statement.
Fix for check-in [dca8763872a] FossilOrigin-Name: d7d4a94fc1209fd32d7c8e20ac83eb169b81ee25
This commit is contained in:
@@ -4081,11 +4081,12 @@ static int fillInUnixFile(
|
||||
** exception is when opening the proxy "conch" file in builds that
|
||||
** include the special Apple locking styles.
|
||||
*/
|
||||
assert( zFilename==0 || zFilename[0]=='/'
|
||||
#if defined(__APPLE__) && SQLITE_ENABLE_LOCKING_STYLE
|
||||
|| pVfs->pAppData==(void*)&autolockIoFinder
|
||||
assert( zFilename==0 || zFilename[0]=='/'
|
||||
|| pVfs->pAppData==(void*)&autolockIoFinder );
|
||||
#else
|
||||
assert( zFilename==0 || zFilename[0]=='/' );
|
||||
#endif
|
||||
);
|
||||
|
||||
OSTRACE(("OPEN %-3d %s\n", h, zFilename));
|
||||
pNew->h = h;
|
||||
|
||||
Reference in New Issue
Block a user