diff --git a/src/reHDD.cpp b/src/reHDD.cpp index dc0bd63..364eb48 100644 --- a/src/reHDD.cpp +++ b/src/reHDD.cpp @@ -384,7 +384,6 @@ void reHDD::filterIgnoredDrives(list *plistDrives) Logger::logThis()->info("system drive found --> ignore this drive: " + it->getPath()); #endif it = plistDrives->erase(it); - it--; } } } @@ -437,7 +436,6 @@ void reHDD::filterIgnoredDrives(list *plistDrives) Logger::logThis()->info("same uuid found than in ignore file --> ignore this drive: " + it->getPath()); #endif it = plistDrives->erase(it); - it--; } } } @@ -459,7 +457,6 @@ void reHDD::filterInvalidDrives(list *plistDrives) Logger::logThis()->info("Drive reports zero capacity --> ignore this drive: " + it->getPath()); #endif it = plistDrives->erase(it); - it--; } } }