Vboxwrapper: ignore coverity defect

The function vbm_popen() already logs an error in those cases and it is non critical.
This commit is contained in:
Christian Beer 2019-05-28 21:05:37 +02:00
parent f1fd265fda
commit 7cfd7296f8
1 changed files with 2 additions and 0 deletions

View File

@ -801,9 +801,11 @@ namespace vboxmanage {
return deregister_vm(false);
} else {
command = "closemedium dvd \"" + virtual_machine_slot_directory + "/" + iso_image_filename + "\" ";
// coverity[CHECKED_RETURN]
vbm_popen(command, output, "remove virtual ISO 9660 disk", false);
if (enable_cache_disk) {
command = "closemedium disk \"" + virtual_machine_slot_directory + "/" + cache_disk_filename + "\" ";
// coverity[CHECKED_RETURN]
vbm_popen(command, output, "remove virtual cache disk", false);
}
}