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/IcqOscarJ/src/icq_proto.cpp | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'protocols/IcqOscarJ/src') diff --git a/protocols/IcqOscarJ/src/icq_proto.cpp b/protocols/IcqOscarJ/src/icq_proto.cpp index cf2d9bf790..73ecda2a7c 100644 --- a/protocols/IcqOscarJ/src/icq_proto.cpp +++ b/protocols/IcqOscarJ/src/icq_proto.cpp @@ -71,17 +71,15 @@ static int CompareContactsCache(const icq_contacts_cache *p1, const icq_contacts } CIcqProto::CIcqProto( const char* aProtoName, const TCHAR* aUserName ) : -cookies(10, CompareCookies), -directConns(10, CompareConns), -expectedFileRecvs(10, CompareFT), -contactsCache(10, CompareContactsCache), -cheekySearchId( -1 ) + cookies(10, CompareCookies), + directConns(10, CompareConns), + expectedFileRecvs(10, CompareFT), + contactsCache(10, CompareContactsCache), + cheekySearchId( -1 ) { ProtoConstructor(this, aProtoName, aUserName); - m_szProtoName = mir_strdup(aProtoName); - _strlwr( m_szProtoName ); - m_szProtoName[0] = toupper( m_szProtoName[0] ); - NetLog_Server( "Setting protocol/module name to '%s/%s'", m_szProtoName, m_szModuleName ); + + NetLog_Server( "Setting protocol/module name to '%s'", m_szModuleName ); oftMutex = new icq_critical_section(); @@ -267,8 +265,6 @@ CIcqProto::~CIcqProto() SAFE_FREE(&m_modeMsgs.szFfc); NetLog_Server("%s: Protocol instance '%s' destroyed.", ICQ_PROTOCOL_NAME, m_szModuleName); - - mir_free( m_szProtoName ); ProtoDestructor(this); } -- cgit v1.2.3