From 37ee8ce9804da4c5ea29e14ec4092c0bea00e2b3 2016-01-24 12:07:48 From: Jan Kaluza Date: 2016-01-24 12:07:48 Subject: [PATCH] Remove wrong std::string token definition --- diff --git a/spectrum/src/frontends/slack/SlackUserRegistration.cpp b/spectrum/src/frontends/slack/SlackUserRegistration.cpp index 60134dbc85629cc7a9dc6216a81e64afe67b202d..3995dced1736cd0d096fb9cacbb2ff84337e4fc8 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;