From 7cfd7296f867f5b21df6d3019c6715b956ef8a6d Mon Sep 17 00:00:00 2001 From: Christian Beer Date: Tue, 28 May 2019 21:05:37 +0200 Subject: [PATCH] Vboxwrapper: ignore coverity defect The function vbm_popen() already logs an error in those cases and it is non critical. --- samples/vboxwrapper/vbox_vboxmanage.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samples/vboxwrapper/vbox_vboxmanage.cpp b/samples/vboxwrapper/vbox_vboxmanage.cpp index 44a9d0c2e8..63971d85cc 100644 --- a/samples/vboxwrapper/vbox_vboxmanage.cpp +++ b/samples/vboxwrapper/vbox_vboxmanage.cpp @@ -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); } }