aboutsummaryrefslogtreecommitdiff
path: root/src/json.c
diff options
context:
space:
mode:
authordrh <>2023-10-06 12:51:05 +0000
committerdrh <>2023-10-06 12:51:05 +0000
commit1935887a68e8b54369852fb62abeb8268b82886e (patch)
treed1484f05fea303031f621eab2a8e783554d6eb59 /src/json.c
parent03f7e425386f9451c6806e2e89f58fca1263aa44 (diff)
downloadsqlite-1935887a68e8b54369852fb62abeb8268b82886e.tar.gz
sqlite-1935887a68e8b54369852fb62abeb8268b82886e.zip
Ensure that all fields of static sqlite3_module objects are explicitly
initialized, in order to hush-up nuisance compiler warnings. FossilOrigin-Name: f3b3d712d6e58b1cb8fdebd2b6b3125080b6b3ac8c7c849a8cc1e5e778d62fe7
Diffstat (limited to 'src/json.c')
-rw-r--r--src/json.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/json.c b/src/json.c
index 253fce9f4..adcb69113 100644
--- a/src/json.c
+++ b/src/json.c
@@ -3758,7 +3758,8 @@ static sqlite3_module jsonEachModule = {
0, /* xSavepoint */
0, /* xRelease */
0, /* xRollbackTo */
- 0 /* xShadowName */
+ 0, /* xShadowName */
+ 0 /* xIntegrity */
};
/* The methods of the json_tree virtual table. */
@@ -3786,7 +3787,8 @@ static sqlite3_module jsonTreeModule = {
0, /* xSavepoint */
0, /* xRelease */
0, /* xRollbackTo */
- 0 /* xShadowName */
+ 0, /* xShadowName */
+ 0 /* xIntegrity */
};
#endif /* SQLITE_OMIT_VIRTUALTABLE */
#endif /* !defined(SQLITE_OMIT_JSON) */