bugfix/ai-static-analysis #82

Merged
localhorst merged 33 commits from bugfix/ai-static-analysis into master 2025-12-10 21:52:17 +01:00
2 changed files with 16 additions and 15 deletions
Showing only changes of commit eded3f166c - Show all commits

View File

@ -405,7 +405,6 @@ void reHDD::filterIgnoredDrives(list<Drive> *plistDrives)
FILE *outputfileBlkid = popen(sCMD.c_str(), "r"); // get UUID from drive
if (outputfileBlkid == NULL)
{
pclose(outputfileBlkid);
exit(EXIT_FAILURE);
}
@ -685,7 +684,6 @@ bool reHDD::getSystemDrive(string &systemDrive)
if (outputfileHwinfo == NULL)
{
Logger::logThis()->error("Unable to scan attached drives for system drive");
pclose(outputfileHwinfo);
exit(EXIT_FAILURE);
}