diff options
author | George Hazan <george.hazan@gmail.com> | 2013-02-23 20:01:17 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-02-23 20:01:17 +0000 |
commit | 97d992fe41e7eaafba3e5700861b0e098a8f6080 (patch) | |
tree | 48c4f577c59a9a52e0875771b00d66d301181de7 /src/modules/protocols | |
parent | aa387fa04aa096d163932d3f5f9711a2f146c6f0 (diff) |
useless variable m_szProtoName removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@3740 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/protocols')
-rw-r--r-- | src/modules/protocols/protoint.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/protocols/protoint.cpp b/src/modules/protocols/protoint.cpp index c0086cded0..1c80a97565 100644 --- a/src/modules/protocols/protoint.cpp +++ b/src/modules/protocols/protoint.cpp @@ -289,7 +289,6 @@ PROTO_INTERFACE* AddDefaultAccount(const char* szProtoName) PROTO_INTERFACE* ppi = new DEFAULT_PROTO_INTERFACE;
if (ppi != NULL) {
ppi->m_szModuleName = mir_strdup(szProtoName);
- ppi->m_szProtoName = mir_strdup(szProtoName);
ppi->m_tszUserName = mir_a2t(szProtoName);
}
return ppi;
@@ -298,7 +297,6 @@ PROTO_INTERFACE* AddDefaultAccount(const char* szProtoName) int FreeDefaultAccount(PROTO_INTERFACE* ppi)
{
mir_free(ppi->m_szModuleName);
- mir_free(ppi->m_szProtoName);
mir_free(ppi->m_tszUserName);
delete ppi;
return 0;
|