From 2eb26dc2acbcd30ae9f3673dae89ba647f594564 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 1 Feb 2017 17:52:22 +0300 Subject: PLI_ONLINE & PLI_OFFLINE - unused constants removed --- src/mir_app/src/meta_services.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/mir_app/src/meta_services.cpp b/src/mir_app/src/meta_services.cpp index 37b23f355c..d3f1827e9f 100644 --- a/src/mir_app/src/meta_services.cpp +++ b/src/mir_app/src/meta_services.cpp @@ -94,8 +94,7 @@ INT_PTR Meta_GetName(WPARAM wParam, LPARAM lParam) /** Loads the icon corresponding to the status * Called by the CList when the status changes. -* @param wParam : one of the following values : \n -PLI_PROTOCOL | PLI_ONLINE | PLI_OFFLINE +* @param wParam : icon type * @return an \c HICON in which the icon has been loaded. */ @@ -106,12 +105,7 @@ INT_PTR Meta_LoadIcon(WPARAM wParam, LPARAM) case PLI_PROTOCOL: id = IDI_MCMENU; break; - case PLI_ONLINE: - id = IDI_MCMENU; - break; - case PLI_OFFLINE: - id = IDI_MCMENU; - break; + default: return 0; } -- cgit v1.2.3