From a31d5fa2a0749d8a94f1be6c1d005a174f3278d8 Mon Sep 17 00:00:00 2001 From: lukefromdc Date: Thu, 9 Nov 2017 21:17:54 -0500 Subject: status-notifier: remove duplicate check found by cppcheck --- applets/notification_area/status-notifier/sn-item.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'applets/notification_area') diff --git a/applets/notification_area/status-notifier/sn-item.c b/applets/notification_area/status-notifier/sn-item.c index e305fdad..27121503 100644 --- a/applets/notification_area/status-notifier/sn-item.c +++ b/applets/notification_area/status-notifier/sn-item.c @@ -440,8 +440,6 @@ sn_item_ready (SnItem *item) SnItemPrivate *priv; menu = SN_ITEM_GET_CLASS (item)->get_menu (item); - if (menu == NULL) - return; if (menu == NULL || *menu == '\0' || g_strcmp0 (menu, "/") == 0) return; -- cgit v1.2.1