summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-01-14 20:04:47 -0200
committerMichael Alexsander Silva Dias <michaelalexsander@protonmail.com>2019-01-16 12:59:18 -0200
commit9c69d7f3392249d26236dcb33bee7de8f283dc28 (patch)
tree763d38e46df4458c46b9766cee3f273d1f2ac897 /scene/main
parent9c1768836f25e780a7ef51a1d18a0a15e0b55e42 (diff)
Appease some CppCheck warns for files in the "scene" directory
Diffstat (limited to 'scene/main')
-rw-r--r--scene/main/http_request.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/scene/main/http_request.cpp b/scene/main/http_request.cpp
index 8e96873672..8b68b3215c 100644
--- a/scene/main/http_request.cpp
+++ b/scene/main/http_request.cpp
@@ -220,13 +220,12 @@ bool HTTPRequest::_handle_response(bool *ret_value) {
Error err;
if (new_request.begins_with("http")) {
// New url, request all again
- err = _parse_url(new_request);
+ _parse_url(new_request);
} else {
request_string = new_request;
}
err = _request();
-
if (err == OK) {
request_sent = false;
got_response = false;