aboutsummaryrefslogtreecommitdiff
path: root/src/attach.c
diff options
context:
space:
mode:
authordrh <>2023-01-21 00:19:29 +0000
committerdrh <>2023-01-21 00:19:29 +0000
commitc1b54fa225ce258a38f9cd56eabc45bc4eff4235 (patch)
tree157337f8b99925d5dd09c82be64962cc810865f5 /src/attach.c
parenta96cd076fef5f39061d036c15421771d23ee0743 (diff)
downloadsqlite-c1b54fa225ce258a38f9cd56eabc45bc4eff4235.tar.gz
sqlite-c1b54fa225ce258a38f9cd56eabc45bc4eff4235.zip
Fix harmless compiler warnings.
FossilOrigin-Name: ded60f5b3431283d70eb8c41761c0fa9727021e6309d0df0ae3fb0a5274c1299
Diffstat (limited to 'src/attach.c')
-rw-r--r--src/attach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attach.c b/src/attach.c
index ae19adb89..4a6a25bf0 100644
--- a/src/attach.c
+++ b/src/attach.c
@@ -85,7 +85,7 @@ static void attachFunc(
char *zErr = 0;
unsigned int flags;
Db *aNew; /* New array of Db pointers */
- Db *pNew; /* Db object for the newly attached database */
+ Db *pNew = 0; /* Db object for the newly attached database */
char *zErrDyn = 0;
sqlite3_vfs *pVfs;