1
0
Fork 0

Cleanup PVS warning unecessary code

This commit is contained in:
krcroft 2020-03-31 17:55:19 -07:00 committed by Patryk Obara
parent 233cf5089b
commit f1d197ec5f

View file

@ -1181,7 +1181,6 @@ public:
}
char drive;
std::string label;
std::vector<std::string> paths;
std::string umount;
/* Check for unmounting */
@ -1365,9 +1364,7 @@ public:
// Tear-down all prior drives when we hit a problem
WriteOut(MSG_Get("PROGRAM_IMGMOUNT_CANT_CREATE"));
for (auto pImgDisk : imgDisks) {
if (pImgDisk) {
delete pImgDisk;
}
delete pImgDisk;
}
return;
}