VirtualBox

Changeset 107580 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jan 9, 2025 10:11:24 AM (4 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
166653
Message:

src/VBox/Main/src-client/CloudGateway.cpp: Fixed warnings found by Parfait (assignment unused). jiraref:VBP-1424

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/CloudGateway.cpp

    r106061 r107580  
    190190    HRESULT hrc = S_OK;
    191191
    192     try {
     192    try
     193    {
    193194        hrc = network->COMGETTER(Provider)(gateway.mCloudProvider.asOutParam());
     195        AssertComRCBreakRC(hrc);
    194196        hrc = network->COMGETTER(Profile)(gateway.mCloudProfile.asOutParam());
     197        AssertComRCBreakRC(hrc);
    195198        CloudClient client(virtualBox, gateway.mCloudProvider, gateway.mCloudProfile);
    196         client.startCloudGateway(network, gateway);
     199        client.startCloudGateway(network, gateway); /* Throws CloudError on failure. */
    197200    }
    198201    catch (CloudError e)
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette