You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Removed unused variables (second pass) + dead code
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
This commit is contained in:
@@ -90,7 +90,6 @@ Size2 AnimationTreeEditor::get_node_size(const StringName& p_node) const {
|
||||
|
||||
Ref<StyleBox> style = get_stylebox("panel","PopupMenu");
|
||||
Ref<Font> font = get_font("font","PopupMenu");
|
||||
Color font_color = get_color("font_color","PopupMenu");
|
||||
|
||||
Size2 size = style->get_minimum_size();
|
||||
|
||||
@@ -633,7 +632,6 @@ AnimationTreeEditor::ClickType AnimationTreeEditor::_locate_click(const Point2&
|
||||
|
||||
Ref<StyleBox> style = get_stylebox("panel","PopupMenu");
|
||||
Ref<Font> font = get_font("font","PopupMenu");
|
||||
Color font_color = get_color("font_color","PopupMenu");
|
||||
|
||||
float h = (font->get_height()+get_constant("vseparation","PopupMenu"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user