You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Initialize class/struct variables with default values in platform/ and editor/
This commit is contained in:
@@ -409,7 +409,7 @@ void TileMapEditor::_sbox_input(const Ref<InputEvent> &p_ie) {
|
||||
// In modern C++ this could have been inside its body.
|
||||
namespace {
|
||||
struct _PaletteEntry {
|
||||
int id;
|
||||
int id = 0;
|
||||
String name;
|
||||
|
||||
bool operator<(const _PaletteEntry &p_rhs) const {
|
||||
|
||||
Reference in New Issue
Block a user