vboxwrapper: Fix double check of the same flag.

From PVS Studio:
V501:
'There are identical sub-expressions 'enable_isocontextualization' to the left and to the right of the '&&' operator.'
https://www.viva64.com/en/w/V501/print/

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
Vitalii Koshura 2017-04-02 05:58:23 +03:00
parent 6252e8b83b
commit f8d7c1742d
No known key found for this signature in database
GPG Key ID: CE0DB1726070A5A3
1 changed files with 1 additions and 1 deletions

View File

@ -793,7 +793,7 @@ int VBOX_VM::deregister_stale_vm() {
// In use by VMs: test2 (UUID: 000ab2be-1254-4c6a-9fdc-1536a478f601)
// Location: C:\Users\romw\VirtualBox VMs\test2\test2.vdi
//
if (enable_isocontextualization && enable_isocontextualization) {
if (enable_isocontextualization) {
command = "showhdinfo \"" + virtual_machine_slot_directory + "/" + cache_disk_filename + "\" ";
retval = vbm_popen(command, output, "get HDD info");
if (retval) return retval;