From 0e854af70f6f330e63aa36fde125fbb0ca4ff8ef Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 18 Dec 2018 15:40:58 +0300 Subject: C++ exceptions are disabled in all cases where they just prevent warnings --- protocols/Tox/src/stdafx.h | 4 +++- protocols/Tox/src/tox_connection.cpp | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'protocols/Tox/src') diff --git a/protocols/Tox/src/stdafx.h b/protocols/Tox/src/stdafx.h index b1d360aae5..9dbf24a568 100644 --- a/protocols/Tox/src/stdafx.h +++ b/protocols/Tox/src/stdafx.h @@ -2,9 +2,11 @@ #define _COMMON_H_ #include +#include + #include +#include #include -#include #include #include diff --git a/protocols/Tox/src/tox_connection.cpp b/protocols/Tox/src/tox_connection.cpp index fef16834c8..02ab9e223c 100644 --- a/protocols/Tox/src/tox_connection.cpp +++ b/protocols/Tox/src/tox_connection.cpp @@ -62,7 +62,7 @@ void CToxProto::OnToxCheck(void *arg, BYTE) { CToxProto *proto = (CToxProto*)arg; - int retriesCount = proto->getByte("MaxReconnectRetries", TOX_MAX_RECONNECT_RETRIES); + // int retriesCount = proto->getByte("MaxReconnectRetries", TOX_MAX_RECONNECT_RETRIES); if (proto->m_iStatus < ID_STATUS_ONLINE) proto->TryConnect(); else -- cgit v1.2.3