Merge pull request #22713 from akien-mga/fix-warnings
Fix GCC 8 warnings about potentially unitialized variables
This commit is contained in:
commit
181af9b484
11 changed files with 19 additions and 15 deletions
|
|
@ -251,7 +251,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
|
|||
|
||||
Color preset_accent_color;
|
||||
Color preset_base_color;
|
||||
float preset_contrast;
|
||||
float preset_contrast = 0;
|
||||
|
||||
// Please, use alphabet order if you've added new theme here(After "Default" and "Custom")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue