From 00d507b7a97774eade3dc49bcad8a06d27e0dad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Fri, 14 Jul 2023 13:05:47 +0200 Subject: [PATCH] Make the component really compile. [GB.DB.SQLITE2] * BUG: Make the component really compile. --- gb.db.sqlite2/src/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gb.db.sqlite2/src/main.cpp b/gb.db.sqlite2/src/main.cpp index 1dd423300..df074c952 100644 --- a/gb.db.sqlite2/src/main.cpp +++ b/gb.db.sqlite2/src/main.cpp @@ -488,8 +488,7 @@ static int WalkDirectory(const char *dir, char ***databases) static int init_version(DB_DATABASE *db) { - char *version; - int dbversion = 0; + const char *version; unsigned int verMain, verMajor, verMinor; version = sqlite_libversion();