VirtualBox

Ignore:
Timestamp:
May 15, 2024 9:29:32 AM (7 months ago)
Author:
vboxsync
Message:

Main: Fixed warnings. ​bugref:3409

File:
1 edited

Legend:

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

    r104178 r104635  
    10841084                // Nothing to do here.
    10851085            }
    1086             else if (pEvent->HasGuestError() && pvrcGuest)
     1086            else if (pEvent->HasGuestError())
    10871087                *pvrcGuest = pEvent->GuestResult();
    10881088        }
     
    12501250    {
    12511251        vrc = pEvent->Wait(GSTCTL_DEFAULT_TIMEOUT_MS);
    1252         if (pEvent->HasGuestError() && pvrcGuest)
     1252        if (pEvent->HasGuestError())
    12531253            *pvrcGuest = pEvent->GuestResult();
    12541254    }
     
    14221422                else
    14231423                {
    1424                     if (pvrcGuest)
    1425                         *pvrcGuest = vrcGuest;
     1424                    *pvrcGuest = vrcGuest;
    14261425                    vrc = VERR_GSTCTL_GUEST_ERROR;
    14271426                }
     
    15311530    {
    15321531        /* Nothing further to do here yet. */
    1533         if (pvrcGuest)
    1534             *pvrcGuest = VINF_SUCCESS;
     1532        *pvrcGuest = VINF_SUCCESS;
    15351533    }
    15361534
Note: See TracChangeset for help on using the changeset viewer.

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