mirror of
https://github.com/godotengine/godot.git
synced 2025-10-22 17:33:33 +00:00
Fix compiler warnings in HTML5 platform
This commit is contained in:
parent
55d013195f
commit
d93050d8a2
3 changed files with 18 additions and 15 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue