code cleanup from cppcheck

This commit is contained in:
Mark Vejvoda
2013-06-15 01:43:44 +00:00
parent c646d0371c
commit 1b3ee1503b
9 changed files with 19 additions and 20 deletions

View File

@@ -551,7 +551,7 @@ void updatePathClimbingParts(string &path) {
if(pos != string::npos && pos != 0) {
string orig = path;
path.erase(pos,2);
pos--;
//pos--;
pos = path.find("/./");
if(pos != string::npos && pos != 0) {
@@ -564,7 +564,7 @@ void updatePathClimbingParts(string &path) {
if(pos != string::npos && pos != 0) {
string orig = path;
path.erase(pos,2);
pos--;
//pos--;
pos = path.find("\\.\\");
if(pos != string::npos && pos != 0) {