diff options
| author | Rémi Verschelde | 2016-07-09 14:33:30 +0200 |
|---|---|---|
| committer | GitHub | 2016-07-09 14:33:30 +0200 |
| commit | 3a70d4a072fa170ae927e2b416861ccd395f92d2 (patch) | |
| tree | 0e5a9055880d02055dcc4e00dea1c8b5d9848ba9 /core/path_db.cpp | |
| parent | 0e119a91640acbc7643ff1dd1049bf12ca302d21 (diff) | |
| parent | f40f360a2c4ca8e6f2a651dbcca3ae82e2abe7a1 (diff) | |
| download | godot-3a70d4a072fa170ae927e2b416861ccd395f92d2.tar.gz godot-3a70d4a072fa170ae927e2b416861ccd395f92d2.tar.zst godot-3a70d4a072fa170ae927e2b416861ccd395f92d2.zip | |
Merge pull request #5589 from akien-mga/pr-unused-var
Removing some more unused vars and dead code
Diffstat (limited to '')
| -rw-r--r-- | core/path_db.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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<StringName> 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; } } |
