Initialize class/struct variables with default values in core/ and drivers/
This commit is contained in:
parent
18023cc3ed
commit
7bd03b7188
34 changed files with 221 additions and 228 deletions
|
|
@ -371,7 +371,7 @@ void Array::sort() {
|
|||
}
|
||||
|
||||
struct _ArrayVariantSortCustom {
|
||||
Object *obj;
|
||||
Object *obj = nullptr;
|
||||
StringName func;
|
||||
|
||||
_FORCE_INLINE_ bool operator()(const Variant &p_l, const Variant &p_r) const {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue