Fossil SCM

Fix a harmless compiler warning in SQLite. This is a direct edit to the imported sqlite3.c file, which will be overwritten the next time we update SQLite. But that's ok since the warning is fixed in the SQLite tree too.

drh 2023-09-19 10:42 trunk
Commit ead5a95b47bf5d0ca624f98f5d0d10283705a3069b378528e1960a14a3eeaab4
1 file changed -1
--- extsrc/sqlite3.c
+++ extsrc/sqlite3.c
@@ -239687,11 +239687,10 @@
239687239687
u8 *aIdx = 0;
239688239688
int bLastInDoclist = 0;
239689239689
int iIdx = 0;
239690239690
int iStart = 0;
239691239691
int iKeyOff = 0;
239692
- int iPrevKeyOff = 0;
239693239692
int iDelKeyOff = 0; /* Offset of deleted key, if any */
239694239693
239695239694
nIdx = nPg-iPgIdx;
239696239695
aIdx = sqlite3Fts5MallocZero(&p->rc, nIdx+16);
239697239696
if( p->rc ) return;
239698239697
--- extsrc/sqlite3.c
+++ extsrc/sqlite3.c
@@ -239687,11 +239687,10 @@
239687 u8 *aIdx = 0;
239688 int bLastInDoclist = 0;
239689 int iIdx = 0;
239690 int iStart = 0;
239691 int iKeyOff = 0;
239692 int iPrevKeyOff = 0;
239693 int iDelKeyOff = 0; /* Offset of deleted key, if any */
239694
239695 nIdx = nPg-iPgIdx;
239696 aIdx = sqlite3Fts5MallocZero(&p->rc, nIdx+16);
239697 if( p->rc ) return;
239698
--- extsrc/sqlite3.c
+++ extsrc/sqlite3.c
@@ -239687,11 +239687,10 @@
239687 u8 *aIdx = 0;
239688 int bLastInDoclist = 0;
239689 int iIdx = 0;
239690 int iStart = 0;
239691 int iKeyOff = 0;
 
239692 int iDelKeyOff = 0; /* Offset of deleted key, if any */
239693
239694 nIdx = nPg-iPgIdx;
239695 aIdx = sqlite3Fts5MallocZero(&p->rc, nIdx+16);
239696 if( p->rc ) return;
239697

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button