summaryrefslogtreecommitdiff
path: root/protocols/Omegle
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-02-23 20:01:17 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-02-23 20:01:17 +0000
commit97d992fe41e7eaafba3e5700861b0e098a8f6080 (patch)
tree48c4f577c59a9a52e0875771b00d66d301181de7 /protocols/Omegle
parentaa387fa04aa096d163932d3f5f9711a2f146c6f0 (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 'protocols/Omegle')
-rw-r--r--protocols/Omegle/src/proto.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/Omegle/src/proto.cpp b/protocols/Omegle/src/proto.cpp
index 2a28589e61..2380eb48ec 100644
--- a/protocols/Omegle/src/proto.cpp
+++ b/protocols/Omegle/src/proto.cpp
@@ -24,8 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
OmegleProto::OmegleProto(const char* proto_name, const TCHAR* username)
{
- ProtoConstructor(this, aProtoName, aUserName);
- m_szProtoName = mir_strdup( proto_name );
+ ProtoConstructor(this, proto_name, username);
this->facy.parent = this;
@@ -81,7 +80,6 @@ OmegleProto::~OmegleProto( )
mir_free( this->facy.nick_ );
- mir_free( m_szProtoName );
ProtoDestructor(this);
}