mirror of https://gitee.com/bigwinds/arangodb
reduce var scope
This commit is contained in:
parent
86ab6e8daa
commit
320d7c3e8f
|
@ -97,10 +97,9 @@ Handler::status_t RestUploadHandler::execute () {
|
||||||
|
|
||||||
bool found;
|
bool found;
|
||||||
char const* value = _request->value("multipart", found);
|
char const* value = _request->value("multipart", found);
|
||||||
bool multiPart = false;
|
|
||||||
|
|
||||||
if (found) {
|
if (found) {
|
||||||
multiPart = triagens::basics::StringUtils::boolean(value);
|
bool multiPart = triagens::basics::StringUtils::boolean(value);
|
||||||
|
|
||||||
if (multiPart) {
|
if (multiPart) {
|
||||||
if (! parseMultiPart(body, bodySize)) {
|
if (! parseMultiPart(body, bodySize)) {
|
||||||
|
|
Loading…
Reference in New Issue