Browse Source

Remove useless variable and line in OptionButton

NilsIrl 6 years ago
parent
commit
abceb74b49
1 changed files with 0 additions and 1 deletions
  1. 0 1
      scene/gui/option_button.cpp

+ 0 - 1
scene/gui/option_button.cpp

@@ -51,7 +51,6 @@ void OptionButton::_notification(int p_what) {
 
 
 			RID ci = get_canvas_item();
 			RID ci = get_canvas_item();
 			Ref<Texture> arrow = Control::get_icon("arrow");
 			Ref<Texture> arrow = Control::get_icon("arrow");
-			Ref<StyleBox> normal = get_stylebox("normal");
 			Color clr = Color(1, 1, 1);
 			Color clr = Color(1, 1, 1);
 			if (get_constant("modulate_arrow")) {
 			if (get_constant("modulate_arrow")) {
 				switch (get_draw_mode()) {
 				switch (get_draw_mode()) {