[gnome-software] trivial: Reduce the debugging verbosity when adding apps to a GsAppList
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Reduce the debugging verbosity when adding apps to a GsAppList
- Date: Thu, 13 Jul 2017 18:18:43 +0000 (UTC)
commit 1dbde2daa08968deff8a9990444d45415e5f2a15
Author: Richard Hughes <richard hughsie com>
Date: Thu Jul 13 13:12:34 2017 +0100
trivial: Reduce the debugging verbosity when adding apps to a GsAppList
lib/gs-app-list.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/lib/gs-app-list.c b/lib/gs-app-list.c
index f402bc6..3b595df 100644
--- a/lib/gs-app-list.c
+++ b/lib/gs-app-list.c
@@ -110,10 +110,8 @@ gs_app_list_check_for_duplicate (GsAppList *list, GsApp *app)
/* does not exist */
id = gs_app_get_unique_id (app);
app_old = g_hash_table_lookup (list->hash_by_id, id);
- if (app_old == NULL) {
- g_debug ("adding %s as nothing matched hash", id);
+ if (app_old == NULL)
return TRUE;
- }
/* existing app is a wildcard */
id_old = gs_app_get_unique_id (app_old);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]