From 4eccffd2cb24cfaf32959fcf400aaea1930af15f Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 1 May 2015 11:02:35 +0000 Subject: warnings fix not used file removed git-svn-id: http://svn.miranda-ng.org/main/trunk@13330 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Steam/src/steam_account.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'protocols/Steam/src/steam_account.cpp') diff --git a/protocols/Steam/src/steam_account.cpp b/protocols/Steam/src/steam_account.cpp index a01bc51e38..43328069a3 100644 --- a/protocols/Steam/src/steam_account.cpp +++ b/protocols/Steam/src/steam_account.cpp @@ -14,7 +14,7 @@ bool CSteamProto::IsMe(const char *steamId) return false; } -void CSteamProto::OnGotRsaKey(const NETLIBHTTPREQUEST *response, void *arg) +void CSteamProto::OnGotRsaKey(const NETLIBHTTPREQUEST *response, void *) { if (response == NULL) return; @@ -46,7 +46,6 @@ void CSteamProto::OnGotRsaKey(const NETLIBHTTPREQUEST *response, void *arg) DWORD error = 0; DWORD encryptedSize = 0; - DWORD passwordSize = (DWORD)strlen(password); if ((error = RsaEncrypt(modulus, password, NULL, encryptedSize)) != 0) { debugLogA("CSteamProto::OnGotRsaKey: encryption error (%lu)", error); @@ -74,7 +73,7 @@ void CSteamProto::OnGotRsaKey(const NETLIBHTTPREQUEST *response, void *arg) &CSteamProto::OnAuthorization); } -void CSteamProto::OnAuthorization(const NETLIBHTTPREQUEST *response, void *arg) +void CSteamProto::OnAuthorization(const NETLIBHTTPREQUEST *response, void *) { if (response == NULL) { SetStatus(ID_STATUS_OFFLINE); @@ -190,7 +189,7 @@ void CSteamProto::OnAuthorization(const NETLIBHTTPREQUEST *response, void *arg) &CSteamProto::OnLoggedOn); } -void CSteamProto::OnGotSession(const NETLIBHTTPREQUEST *response, void *arg) +void CSteamProto::OnGotSession(const NETLIBHTTPREQUEST *response, void *) { if(response == NULL) return; @@ -209,7 +208,7 @@ void CSteamProto::OnGotSession(const NETLIBHTTPREQUEST *response, void *arg) } } -void CSteamProto::OnLoggedOn(const NETLIBHTTPREQUEST *response, void *arg) +void CSteamProto::OnLoggedOn(const NETLIBHTTPREQUEST *response, void *) { if (response == NULL) { -- cgit v1.2.3