summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_account.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-01 11:02:35 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-01 11:02:35 +0000
commit4eccffd2cb24cfaf32959fcf400aaea1930af15f (patch)
tree3bcd6762c18864e4c52971f50fbcfa8a11d82361 /protocols/Steam/src/steam_account.cpp
parentd144a4a069b0c1dda07d49f808007f64aa6309be (diff)
warnings fix
not used file removed git-svn-id: http://svn.miranda-ng.org/main/trunk@13330 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam/src/steam_account.cpp')
-rw-r--r--protocols/Steam/src/steam_account.cpp9
1 files changed, 4 insertions, 5 deletions
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)
{