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
|
|
@ -38,10 +38,10 @@
|
|||
struct _CoreConstant {
|
||||
#ifdef DEBUG_METHODS_ENABLED
|
||||
StringName enum_name;
|
||||
bool ignore_value_in_docs;
|
||||
bool ignore_value_in_docs = false;
|
||||
#endif
|
||||
const char *name;
|
||||
int value;
|
||||
int value = 0;
|
||||
|
||||
_CoreConstant() {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue