[epiphany] Fix scanbuild CI pipeline



commit 65919c3ef78751aade0ff804eceb8e896de618a8
Author: Jan-Michael Brummer <jan brummer tabos org>
Date:   Mon May 4 23:05:46 2020 +0200

    Fix scanbuild CI pipeline

 lib/ephy-profile-utils.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/lib/ephy-profile-utils.c b/lib/ephy-profile-utils.c
index cadc1ed90..42d818ded 100644
--- a/lib/ephy-profile-utils.c
+++ b/lib/ephy-profile-utils.c
@@ -105,7 +105,8 @@ ephy_profile_utils_do_migration (const char *profile_directory,
                            "EPHY_LOG_MODULES", "ephy-profile",
                            TRUE);
 
-  argv[i++] = version = g_strdup_printf ("%d", EPHY_PROFILE_MIGRATION_VERSION);
+  version = g_strdup_printf ("%d", EPHY_PROFILE_MIGRATION_VERSION);
+  argv[i++] = version;
 
   /* If we're not trying to run a migration step in a test and there
    *  is nothing to migrate, don't spawn the migrator at all. */


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