diff options
author | lukefromdc <[email protected]> | 2017-11-09 21:17:54 -0500 |
---|---|---|
committer | lukefromdc <[email protected]> | 2017-11-09 21:17:54 -0500 |
commit | a31d5fa2a0749d8a94f1be6c1d005a174f3278d8 (patch) | |
tree | 6ee7468a1d52d21a1f7f02945dc1ab89e15e0878 /applets/notification_area/status-notifier | |
parent | 2d29da5baaed6598d30bfc0d8d1c3f3490064004 (diff) | |
download | mate-panel-a31d5fa2a0749d8a94f1be6c1d005a174f3278d8.tar.bz2 mate-panel-a31d5fa2a0749d8a94f1be6c1d005a174f3278d8.tar.xz |
status-notifier: remove duplicate check found by cppcheck
Diffstat (limited to 'applets/notification_area/status-notifier')
-rw-r--r-- | applets/notification_area/status-notifier/sn-item.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; |