mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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:
parent
b6ac91c0e6
commit
3fcb9b1ec1
35 changed files with 27 additions and 431 deletions
|
|
@ -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"));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue