summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-07-29 18:43:48 +0200
committerGitHub <noreply@github.com>2019-07-29 18:43:48 +0200
commite5e1d7c178d4a99b978da50c8102911cd4a85086 (patch)
treeef72ab3251ec3ffb948610daf3cfdbc845491806
parenta19c15d105ca471b05e5e0b6bf9576cae8e0f7bf (diff)
parentabceb74b490cbd4c7bed0d7bf0411267c367290a (diff)
Merge pull request #30928 from NilsIrl/remove_useless
Remove useless variable and line in OptionButton
-rw-r--r--scene/gui/option_button.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/gui/option_button.cpp b/scene/gui/option_button.cpp
index 01ef98bfd9..d1840e43a3 100644
--- a/scene/gui/option_button.cpp
+++ b/scene/gui/option_button.cpp
@@ -51,7 +51,6 @@ void OptionButton::_notification(int p_what) {
RID ci = get_canvas_item();
Ref<Texture> arrow = Control::get_icon("arrow");
- Ref<StyleBox> normal = get_stylebox("normal");
Color clr = Color(1, 1, 1);
if (get_constant("modulate_arrow")) {
switch (get_draw_mode()) {