summaryrefslogtreecommitdiffstats
path: root/tools/editor/plugins/navigation_polygon_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-07-06 19:04:21 +0200
committerRémi Verschelde <rverschelde@gmail.com>2016-07-07 23:15:59 +0200
commit3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33 (patch)
treea9ab363b5d34a3e314883618c6f34d5368ca79a8 /tools/editor/plugins/navigation_polygon_editor_plugin.cpp
parentb6ac91c0e6416eda0dec226c5dbe5716f293e4f6 (diff)
downloadredot-engine-3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33.tar.gz
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/navigation_polygon_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/navigation_polygon_editor_plugin.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/editor/plugins/navigation_polygon_editor_plugin.cpp b/tools/editor/plugins/navigation_polygon_editor_plugin.cpp
index 5a8cd8791e..22546c72f3 100644
--- a/tools/editor/plugins/navigation_polygon_editor_plugin.cpp
+++ b/tools/editor/plugins/navigation_polygon_editor_plugin.cpp
@@ -427,8 +427,6 @@ void NavigationPolygonEditor::_canvas_draw() {
poly = Variant(node->get_navigation_polygon()->get_outline(j));
}
- int len = poly.size();
-
for(int i=0;i<poly.size();i++) {