From f40f360a2c4ca8e6f2a651dbcca3ae82e2abe7a1 Mon Sep 17 00:00:00 2001 From: Rémi Verschelde Date: Fri, 8 Jul 2016 00:32:28 +0200 Subject: Remove unused variables (fourth pass) + dead code Also fix a potential regression from 3fcb9b1ec179b99d979d4cfea9b5e3c80e4a3e33. --- core/path_db.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'core/path_db.cpp') diff --git a/core/path_db.cpp b/core/path_db.cpp index 754508897..0956c4cd3 100644 --- a/core/path_db.cpp +++ b/core/path_db.cpp @@ -329,7 +329,6 @@ NodePath::NodePath(const String& p_path) { Vector subpath; int absolute=(path[0]=='/')?1:0;; - bool valid=false; bool last_is_slash=true; int slices=0; int subpath_pos=path.find(":"); @@ -373,7 +372,6 @@ NodePath::NodePath(const String& p_path) { if (last_is_slash) slices++; - valid=true; last_is_slash=false; } } -- cgit v1.2.3-70-g09d2