diff options
author | Kalev Lember <klember@redhat.com> | 2020-06-11 09:28:44 +0200 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2020-06-11 08:48:37 +0100 |
commit | 2733e9c2813f29a09ac5c57939475b74ac095894 (patch) | |
tree | fa93ee4121e189ede157bad686b18963cbea5c81 | |
parent | 14c6481450f728f0144f0c208d8641f6bbcc29a4 (diff) | |
download | appstream-glib-2733e9c2813f29a09ac5c57939475b74ac095894.tar.gz |
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.
-rw-r--r-- | libappstream-glib/as-app.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |