summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_address.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-02-15 10:57:54 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-02-15 10:57:54 +0000
commit58f3f2d387c7b3a020eaf4f0b30bf70522adcfad (patch)
tree0e09137c3b8b84a79616a9c65df9eacff377d777 /protocols/Tox/src/tox_address.h
parent60b391e2a55749c0cf9e96f53515673a0898a0d5 (diff)
code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@12120 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_address.h')
-rw-r--r--protocols/Tox/src/tox_address.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_address.h b/protocols/Tox/src/tox_address.h
index 2bd0d82bbe..a4b152427d 100644
--- a/protocols/Tox/src/tox_address.h
+++ b/protocols/Tox/src/tox_address.h
@@ -56,7 +56,6 @@ public:
char *endptr;
const char *pos = hex;
int size = mir_strlen(hex) / 2;
- uint8_t *result = (uint8_t*)mir_alloc(size);
for (int i = 0; i < size; i++)
{
char buf[5] = { '0', 'x', pos[0], pos[1], 0 };