From 2733e9c2813f29a09ac5c57939475b74ac095894 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 11 Jun 2020 09:28:44 +0200 Subject: as-app: Don't initialize mutex twice We managed to merge two MRs to initialize the unique id mutex. Remove one of the g_mutex_init calls to avoid doing it twice. --- libappstream-glib/as-app.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libappstream-glib/as-app.c b/libappstream-glib/as-app.c index 95cef2d..f5c8614 100644 --- a/libappstream-glib/as-app.c +++ b/libappstream-glib/as-app.c @@ -525,7 +525,6 @@ as_app_init (AsApp *app) priv->urls = g_hash_table_new_full (g_str_hash, g_str_equal, (GDestroyNotify) as_ref_string_unref, (GDestroyNotify) as_ref_string_unref); - g_mutex_init (&priv->unique_id_mutex); priv->token_cache = g_hash_table_new_full (g_str_hash, g_str_equal, (GDestroyNotify) as_ref_string_unref, g_free); -- cgit v1.2.1