summaryrefslogtreecommitdiff
path: root/scene/gui/tabs.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-02-28 22:12:09 +0100
committerGitHub <noreply@github.com>2018-02-28 22:12:09 +0100
commit77e8cb2655e877c2e2da7bc8f3b87b184fef5fb3 (patch)
tree19e65ebbcc65823ab297a1e43f4adfb9c88dda44 /scene/gui/tabs.cpp
parentc6dff58f491c30ffc2a81a8d69da86ff8105053f (diff)
parentd702d7b335c0c9305e75131770c0ea739b70d813 (diff)
Merge pull request #17117 from hpvb/fix-use-uninitialized-redux
Fix various valgrind reported uninitialized variable uses
Diffstat (limited to 'scene/gui/tabs.cpp')
-rw-r--r--scene/gui/tabs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/gui/tabs.cpp b/scene/gui/tabs.cpp
index f0e89877cd..dee32aef7a 100644
--- a/scene/gui/tabs.cpp
+++ b/scene/gui/tabs.cpp
@@ -882,4 +882,6 @@ Tabs::Tabs() {
min_width = 0;
scrolling_enabled = true;
+ buttons_visible = false;
+ hover = -1;
}