summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNilsIrl <nils@nilsand.re>2019-07-29 17:41:28 +0200
committerNilsIrl <nils@nilsand.re>2019-07-29 17:41:28 +0200
commitabceb74b490cbd4c7bed0d7bf0411267c367290a (patch)
treeef72ab3251ec3ffb948610daf3cfdbc845491806
parenta19c15d105ca471b05e5e0b6bf9576cae8e0f7bf (diff)
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()) {