Static analyzer fixes:
Removes unused code in OS. Fixes return types. Fixes few typos.
This commit is contained in:
parent
90bdba576a
commit
644f739660
27 changed files with 25 additions and 85 deletions
|
|
@ -288,7 +288,7 @@ void NodePath::simplify() {
|
|||
if (data->path[i].operator String() == ".") {
|
||||
data->path.remove(i);
|
||||
i--;
|
||||
} else if (data->path[i].operator String() == ".." && i > 0 && data->path[i - 1].operator String() != "." && data->path[i - 1].operator String() != "..") {
|
||||
} else if (i > 0 && data->path[i].operator String() == ".." && data->path[i - 1].operator String() != "." && data->path[i - 1].operator String() != "..") {
|
||||
//remove both
|
||||
data->path.remove(i - 1);
|
||||
data->path.remove(i - 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue