summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src/oauth.cpp
diff options
context:
space:
mode:
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);