bugfix/ai-static-analysis #82
@ -384,7 +384,6 @@ void reHDD::filterIgnoredDrives(list<Drive> *plistDrives)
|
|||||||
Logger::logThis()->info("system drive found --> ignore this drive: " + it->getPath());
|
Logger::logThis()->info("system drive found --> ignore this drive: " + it->getPath());
|
||||||
#endif
|
#endif
|
||||||
it = plistDrives->erase(it);
|
it = plistDrives->erase(it);
|
||||||
it--;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -437,7 +436,6 @@ void reHDD::filterIgnoredDrives(list<Drive> *plistDrives)
|
|||||||
Logger::logThis()->info("same uuid found than in ignore file --> ignore this drive: " + it->getPath());
|
Logger::logThis()->info("same uuid found than in ignore file --> ignore this drive: " + it->getPath());
|
||||||
#endif
|
#endif
|
||||||
it = plistDrives->erase(it);
|
it = plistDrives->erase(it);
|
||||||
it--;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -459,7 +457,6 @@ void reHDD::filterInvalidDrives(list<Drive> *plistDrives)
|
|||||||
Logger::logThis()->info("Drive reports zero capacity --> ignore this drive: " + it->getPath());
|
Logger::logThis()->info("Drive reports zero capacity --> ignore this drive: " + it->getPath());
|
||||||
#endif
|
#endif
|
||||||
it = plistDrives->erase(it);
|
it = plistDrives->erase(it);
|
||||||
it--;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user