VirtualBox

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


Ignore:
Timestamp:
Apr 12, 2018 12:28:30 PM (7 years ago)
Author:
vboxsync
Message:

Build fix.

File:
1 edited

Legend:

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

    r71846 r71848  
    16191619PathStyle_T GuestSession::i_getPathStyle(void)
    16201620{
     1621    PathStyle_T enmPathStyle;
     1622
    16211623    VBOXOSTYPE enmOsType = mParent->i_getGuestOSType();
    1622     if (    enmOsType < VBOXOSTYPE_DOS)
     1624    if (enmOsType < VBOXOSTYPE_DOS)
    16231625    {
    16241626        LogFlowFunc(("returns PathStyle_Unknown\n"));
    1625         return PathStyle_Unknown;
     1627        enmPathStyle = PathStyle_Unknown;
    16261628    }
    16271629    else if (enmOsType < VBOXOSTYPE_Linux)
    16281630    {
    16291631        LogFlowFunc(("returns PathStyle_DOS\n"));
    1630         return PathStyle_DOS;
     1632        enmPathStyle = PathStyle_DOS;
    16311633    }
    16321634    else
    16331635    {
    16341636        LogFlowFunc(("returns PathStyle_UNIX\n"));
    1635         return PathStyle_UNIX;
    1636     }
    1637 
    1638     return PathStyle_Unknown;
     1637        enmPathStyle = PathStyle_UNIX;
     1638    }
     1639
     1640    return enmPathStyle;
    16391641}
    16401642
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