From 97d992fe41e7eaafba3e5700861b0e098a8f6080 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 23 Feb 2013 20:01:17 +0000 Subject: useless variable m_szProtoName removed git-svn-id: http://svn.miranda-ng.org/main/trunk@3740 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MSN/src/msn_proto.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'protocols/MSN') diff --git a/protocols/MSN/src/msn_proto.cpp b/protocols/MSN/src/msn_proto.cpp index 6673bb554f..5b9872f84a 100644 --- a/protocols/MSN/src/msn_proto.cpp +++ b/protocols/MSN/src/msn_proto.cpp @@ -47,10 +47,6 @@ CMsnProto::CMsnProto(const char* aProtoName, const TCHAR* aUserName) : ProtoConstructor(this, aProtoName, aUserName); - m_szProtoName = mir_strdup(aProtoName); - _strlwr(m_szProtoName); - m_szProtoName[0] = (char)toupper(m_szProtoName[0]); - mir_snprintf(path, sizeof(path), "%s/Status", m_szModuleName); CallService(MS_DB_SETSETTINGRESIDENT, TRUE, (LPARAM)path); @@ -186,7 +182,6 @@ CMsnProto::~CMsnProto() mir_free(mailsoundname); mir_free(alertsoundname); - mir_free(m_szProtoName); for (int i=0; i < MSN_NUM_MODES; i++) mir_free(msnModeMsgs[i]); -- cgit v1.2.3