VirtualBox

Changeset 49359 in vbox


Ignore:
Timestamp:
Nov 1, 2013 10:19:06 AM (11 years ago)
Author:
vboxsync
Message:

Guest Control: two non-initialized variables

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/GuestCtrlImplPrivate.h

    r49349 r49359  
    455455        Clear();
    456456
    457         int rc;
     457        int rc = VINF_SUCCESS;
    458458        if (payload.cbData)
    459459        {
     
    469469                rc = VERR_NO_MEMORY;
    470470        }
    471         else
    472             rc = VINF_SUCCESS;
    473471
    474472        return rc;
  • trunk/src/VBox/Main/src-client/GuestSessionImpl.cpp

    r49349 r49359  
    11321132        case GUEST_DISCONNECTED:
    11331133            /** @todo Handle closing all guest objects. */
     1134            rc = VERR_INTERNAL_ERROR;
    11341135            break;
    11351136
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