1
0
Fork 0

reduce var scope

This commit is contained in:
Jan Steemann 2015-02-03 16:20:41 +01:00
parent 86ab6e8daa
commit 320d7c3e8f
1 changed files with 1 additions and 2 deletions

View File

@ -97,10 +97,9 @@ Handler::status_t RestUploadHandler::execute () {
bool found;
char const* value = _request->value("multipart", found);
bool multiPart = false;
if (found) {
multiPart = triagens::basics::StringUtils::boolean(value);
bool multiPart = triagens::basics::StringUtils::boolean(value);
if (multiPart) {
if (! parseMultiPart(body, bodySize)) {