1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix compiler warnings in HTML5 platform

This commit is contained in:
Leon Krause
2018-10-02 02:30:27 +02:00
parent 55d013195f
commit d93050d8a2
3 changed files with 18 additions and 15 deletions

View File

@@ -237,7 +237,7 @@ Error HTTPClient::poll() {
case STATUS_CONNECTION_ERROR:
return ERR_CONNECTION_ERROR;
case STATUS_REQUESTING:
case STATUS_REQUESTING: {
#ifdef DEBUG_ENABLED
if (!has_polled) {
@@ -281,6 +281,10 @@ Error HTTPClient::poll() {
godot_xhr_get_response(xhr_id, write.ptr(), polled_response.size());
write = PoolByteArray::Write();
break;
}
default:
ERR_FAIL_V(ERR_BUG);
}
return OK;
}