summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src/oauth.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-04-26 22:24:58 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-04-26 22:24:58 +0000
commita7ecea148c70da66f744a0036f985bc97804d8b4 (patch)
tree007e11deee4595280f1941a178a4dfe9a79942f7 /protocols/Twitter/src/oauth.cpp
parentf0ea2e2a1708b66b4b2a7db825a0987306a5fc5d (diff)
unified project for Twitter
git-svn-id: http://svn.miranda-ng.org/main/trunk@13181 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Twitter/src/oauth.cpp')
-rw-r--r--protocols/Twitter/src/oauth.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/protocols/Twitter/src/oauth.cpp b/protocols/Twitter/src/oauth.cpp
index 8458004e42..b2d8aa4795 100644
--- a/protocols/Twitter/src/oauth.cpp
+++ b/protocols/Twitter/src/oauth.cpp
@@ -145,10 +145,7 @@ wstring mir_twitter::OAuthWebRequestSubmit(
return OAuthWebRequestSubmit(oauthSignedParameters, url);
}
-wstring mir_twitter::OAuthWebRequestSubmit(
- const OAuthParameters& parameters,
- const wstring& url
- )
+wstring mir_twitter::OAuthWebRequestSubmit(const OAuthParameters &parameters, const wstring&)
{
//debugLogW("OAuthWebRequestSubmit(%s)", url);
@@ -377,8 +374,8 @@ wstring mir_twitter::OAuthCreateNonce()
wstring mir_twitter::OAuthCreateTimestamp()
{
__time64_t utcNow;
- __time64_t ret = _time64(&utcNow);
- _ASSERTE(ret != -1);
+ _time64(&utcNow);
+ _ASSERTE(utcNow != -1);
wchar_t buf[100] = {};
mir_snwprintf(buf, SIZEOF(buf), L"%I64u", utcNow);