From 37ee8ce9804da4c5ea29e14ec4092c0bea00e2b3 Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Sun, 24 Jan 2016 12:07:48 +0100 Subject: [PATCH] Remove wrong std::string token definition --- spectrum/src/frontends/slack/SlackUserRegistration.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/spectrum/src/frontends/slack/SlackUserRegistration.cpp b/spectrum/src/frontends/slack/SlackUserRegistration.cpp index 60134dbc..3995dced 100644 --- a/spectrum/src/frontends/slack/SlackUserRegistration.cpp +++ b/spectrum/src/frontends/slack/SlackUserRegistration.cpp @@ -124,7 +124,6 @@ std::string SlackUserRegistration::handleOAuth2Code(const std::string &code, con return "Received state code '" + state + "' not found in state codes list."; } - std::string token; std::string error = oauth2->requestToken(code, token); if (!error.empty()) { return error;