mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 08:39:20 +00:00
fix excess initializer when compiling with old versions of sqlite3
This commit is contained in:
parent
f3e57f6bbd
commit
a9e540e7ea
1 changed files with 3 additions and 18 deletions
|
|
@ -312,11 +312,8 @@ static int sqlite3bctbx_Open(sqlite3_vfs *pVfs, const char *fName, sqlite3_file
|
|||
sqlite3bctbx_nolockCheckReservedLock,
|
||||
sqlite3bctbx_FileControl,
|
||||
NULL, /* xSectorSize */
|
||||
sqlite3bctbx_DeviceCharacteristics,
|
||||
NULL, /* xShmMap */
|
||||
NULL, /* xShmLock */
|
||||
NULL, /* xShmBarrier */
|
||||
NULL /* xShmUnmap, xFetch, xUnfetch (not present in all sqlite3 versions */
|
||||
sqlite3bctbx_DeviceCharacteristics
|
||||
/*other function points follows, all NULL but not present in all sqlite3 versions.*/
|
||||
};
|
||||
|
||||
sqlite3_bctbx_file_t * pFile = (sqlite3_bctbx_file_t*)p; /*File handle sqlite3_bctbx_file_t*/
|
||||
|
|
@ -370,19 +367,7 @@ sqlite3_vfs *sqlite3_bctbx_vfs_create(void){
|
|||
sqlite3bctbx_Open, /* xOpen */
|
||||
NULL, /* xDelete */
|
||||
NULL, /* xAccess */
|
||||
NULL, /* xFullPathname */
|
||||
NULL, /* xDlOpen */
|
||||
NULL, /* xDlError */
|
||||
NULL, /* xDlSym */
|
||||
NULL, /* xDlClose */
|
||||
NULL, /* xRandomness */
|
||||
NULL, /* xSleep */
|
||||
NULL, /* xCurrentTime */
|
||||
NULL, /* xGetLastError */
|
||||
NULL, /* xCurrentTimeInt64 */
|
||||
NULL, /* xSetSystemCall */
|
||||
NULL, /* xGetSystemCall */
|
||||
NULL, /* xNextSystemCall */
|
||||
NULL /* xFullPathname */
|
||||
};
|
||||
return &bctbx_vfs;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue