mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 14:11:15 +00:00
Initialize class/struct variables with default values in modules/
This commit is contained in:
parent
57e2822a05
commit
f7209b459b
100 changed files with 533 additions and 772 deletions
|
|
@ -140,11 +140,7 @@ Error EMWSClient::set_buffers(int p_in_buffer, int p_in_packets, int p_out_buffe
|
|||
}
|
||||
|
||||
EMWSClient::EMWSClient() {
|
||||
_in_buf_size = DEF_BUF_SHIFT;
|
||||
_in_pkt_size = DEF_PKT_SHIFT;
|
||||
_is_connecting = false;
|
||||
_peer = Ref<EMWSPeer>(memnew(EMWSPeer));
|
||||
_js_id = 0;
|
||||
}
|
||||
|
||||
EMWSClient::~EMWSClient() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue