diff options
author | D G Turner | 2017-01-16 13:01:17 +0000 |
---|---|---|
committer | D G Turner | 2017-01-16 13:01:17 +0000 |
commit | 85a3dad96ab003b6b5f86a72412017e1ca66a45d (patch) | |
tree | 74f19cdef7f4ac8e984b185409018bf4dd217f97 /backends/networking/sdl_net/handlers/indexpagehandler.cpp | |
parent | f2e03d2c07bab985d941ffc5d681a5b172fa8888 (diff) | |
download | scummvm-rg350-85a3dad96ab003b6b5f86a72412017e1ca66a45d.tar.gz scummvm-rg350-85a3dad96ab003b6b5f86a72412017e1ca66a45d.tar.bz2 scummvm-rg350-85a3dad96ab003b6b5f86a72412017e1ca66a45d.zip |
CLOUD: Fix Various Variable Shadowing Compiler Warnings.
Diffstat (limited to 'backends/networking/sdl_net/handlers/indexpagehandler.cpp')
-rw-r--r-- | backends/networking/sdl_net/handlers/indexpagehandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/networking/sdl_net/handlers/indexpagehandler.cpp b/backends/networking/sdl_net/handlers/indexpagehandler.cpp index 04a3f45eff..17e5159768 100644 --- a/backends/networking/sdl_net/handlers/indexpagehandler.cpp +++ b/backends/networking/sdl_net/handlers/indexpagehandler.cpp @@ -37,9 +37,9 @@ IndexPageHandler::~IndexPageHandler() {} Common::String IndexPageHandler::code() const { return _code; } void IndexPageHandler::handle(Client &client) { - Common::String code = client.queryParameter("code"); + Common::String queryCode = client.queryParameter("code"); - if (code == "") { + if (queryCode == "") { // redirect to "/filesAJAX" HandlerUtils::setMessageHandler( client, @@ -53,7 +53,7 @@ void IndexPageHandler::handle(Client &client) { return; } - _code = code; + _code = queryCode; sendCommand(GUI::kStorageCodePassedCmd, 0); HandlerUtils::setMessageHandler(client, _("ScummVM got the code and already connects to your cloud storage!")); } |