Merge pull request #22713 from akien-mga/fix-warnings

Fix GCC 8 warnings about potentially unitialized variables
This commit is contained in:
Rémi Verschelde 2018-10-04 14:19:05 +02:00 committed by GitHub
commit 181af9b484
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 19 additions and 15 deletions

View file

@ -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")