summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-13 23:17:53 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-13 23:17:53 +0300
commitd5a6c0666a8d8d2055a3f4402f67f91e8548ec3a (patch)
tree28273a3dfc0ec2a11029581cd1e1651bb9cdb1d5
parente6d2a1d82d71f93ed0377ebf030419afae91f9e4 (diff)
unused function removed
-rw-r--r--plugins/StatusManager/src/commonstatus.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/plugins/StatusManager/src/commonstatus.cpp b/plugins/StatusManager/src/commonstatus.cpp
index 1dca15ceff..c016f4d3ba 100644
--- a/plugins/StatusManager/src/commonstatus.cpp
+++ b/plugins/StatusManager/src/commonstatus.cpp
@@ -94,25 +94,6 @@ int GetActualStatus(PROTOCOLSETTINGEX *protoSetting)
return protoSetting->status;
}
-// helper, from core
-static wchar_t* GetDefaultMessage(int status)
-{
- switch (status) {
- case ID_STATUS_AWAY: return TranslateT("I've been away since %time%.");
- case ID_STATUS_NA: return TranslateT("Give it up, I'm not in!");
- case ID_STATUS_OCCUPIED: return TranslateT("Not right now.");
- case ID_STATUS_DND: return TranslateT("Give a guy some peace, would ya?");
- case ID_STATUS_FREECHAT: return TranslateT("I'm a chatbot!");
- case ID_STATUS_ONLINE: return TranslateT("Yep, I'm here.");
- case ID_STATUS_OFFLINE: return TranslateT("Nope, not here.");
- case ID_STATUS_INVISIBLE: return TranslateT("I'm hiding from the mafia.");
- case ID_STATUS_ONTHEPHONE: return TranslateT("That'll be the phone.");
- case ID_STATUS_OUTTOLUNCH: return TranslateT("Mmm... food.");
- case ID_STATUS_IDLE: return TranslateT("idleeeeeeee");
- }
- return NULL;
-}
-
wchar_t* GetDefaultStatusMessage(PROTOCOLSETTINGEX *ps, int newstatus)
{
if (ps->szMsg != NULL) {// custom message set
@@ -127,7 +108,6 @@ wchar_t* GetDefaultStatusMessage(PROTOCOLSETTINGEX *ps, int newstatus)
static int equalsGlobalStatus(PROTOCOLSETTINGEX **ps)
{
-
int i, j, pstatus = 0, gstatus = 0;
for (i = 0; i < protoList->getCount(); i++)