You've already forked godot
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user