You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Initialize class/struct variables with default values in modules/
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user