summaryrefslogtreecommitdiff
path: root/scene/main
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-01-17 10:28:32 +0100
committerGitHub <noreply@github.com>2019-01-17 10:28:32 +0100
commit9f2d98c0556e296a5ecfcbc973c6f6ef3ec10698 (patch)
treee840d3bcadc81fb1fc39547f377cf01025042fdc /scene/main
parent07e2046980c903268ef0d2f5a73caea77d511519 (diff)
parent9c69d7f3392249d26236dcb33bee7de8f283dc28 (diff)
Merge pull request #24993 from YeldhamDev/cppcheck_warns_scene_fix
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;