[evolution-data-server/gnome-43] CamelDB: Fix an uninitialized variable warning



commit 275473454aac5fabc37b7bad65021e98412a1221
Author: Milan Crha <mcrha redhat com>
Date:   Fri Oct 21 07:27:02 2022 +0200

    CamelDB: Fix an uninitialized variable warning

 src/camel/camel-db.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/camel/camel-db.c b/src/camel/camel-db.c
index 3f8c7e9fb..e1a048d11 100644
--- a/src/camel/camel-db.c
+++ b/src/camel/camel-db.c
@@ -1758,7 +1758,7 @@ camel_db_migrate_folder_prepare (CamelDB *cdb,
                                  gint version,
                                  GError **error)
 {
-       gint ret;
+       gint ret = 0;
        gchar *table_creation_query;
 
        /* Migration stage one: storing the old data */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]