1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Fix a harmless compiler warning in memdb.c.

FossilOrigin-Name: 22fdc658a7cc6d2c50957f92c19de74c9ac7d7d3498731d73e035b99a82bc406
This commit is contained in:
drh
2021-10-27 15:19:01 +00:00
parent be2d6fdd71
commit 90385ddcf1
3 changed files with 8 additions and 7 deletions

View File

@@ -505,6 +505,7 @@ static int memdbOpen(
MemFile *pFile = (MemFile*)pFd;
MemStore *p = 0;
int szName;
UNUSED_PARAMETER(pVfs);
memset(pFile, 0, sizeof(*pFile));
szName = sqlite3Strlen30(zName);