diff options
| author | Rémi Verschelde | 2016-07-06 19:04:21 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-07-07 23:15:59 +0200 |
| commit | 3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33 (patch) | |
| tree | a9ab363b5d34a3e314883618c6f34d5368ca79a8 /tools/editor/plugins/polygon_2d_editor_plugin.cpp | |
| parent | b6ac91c0e6416eda0dec226c5dbe5716f293e4f6 (diff) | |
| download | godot-3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.tar.gz godot-3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.tar.zst godot-3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.zip | |
Removed unused variables (second pass) + dead code
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
Diffstat (limited to 'tools/editor/plugins/polygon_2d_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/polygon_2d_editor_plugin.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/editor/plugins/polygon_2d_editor_plugin.cpp b/tools/editor/plugins/polygon_2d_editor_plugin.cpp index d78508c42..19d1ccc06 100644 --- a/tools/editor/plugins/polygon_2d_editor_plugin.cpp +++ b/tools/editor/plugins/polygon_2d_editor_plugin.cpp @@ -466,8 +466,6 @@ void Polygon2DEditor::_canvas_draw() { Matrix32 xform = canvas_item_editor->get_canvas_transform() * node->get_global_transform(); Ref<Texture> handle= get_icon("EditorHandle","EditorIcons"); - int len = poly.size(); - for(int i=0;i<poly.size();i++) { |
