vboxwrapper: Remove unused variables

From PVS Studio:
V808
'vm_machine_uuid' object of 'CComBSTR' type was created but was not utilized.
'clean_mediums' object of 'vector' type was created but was not utilized.
https://www.viva64.com/en/w/V808/print

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
This commit is contained in:
Vitalii Koshura 2017-04-30 08:48:28 +03:00
parent e1617565da
commit 78613e4326
No known key found for this signature in database
GPG Key ID: CE0DB1726070A5A3
1 changed files with 0 additions and 2 deletions

View File

@ -290,7 +290,6 @@ int VBOX_VM::create_vm() {
HRESULT rc;
char buf[256];
APP_INIT_DATA aid;
CComBSTR vm_machine_uuid;
CComPtr<IMachine> pMachineRO;
CComPtr<IMachine> pMachine;
CComPtr<ISession> pSession;
@ -907,7 +906,6 @@ int VBOX_VM::deregister_vm(bool delete_media) {
CComPtr<IProgress> pProgress;
CComPtr<IBandwidthControl> pBandwidthControl;
CComPtr<ISnapshot> pRootSnapshot;
std::vector<CComPtr<IMedium>> clean_mediums;
std::vector<CComPtr<IMedium>> mediums;
std::vector<std::string> snapshots;
DeviceType device_type;