VirtualBox

Ignore:
Timestamp:
Aug 1, 2016 12:51:52 PM (8 years ago)
Author:
vboxsync
Message:

GuestHost/OpenGL: warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/util/vboxhgcm.c

    r62812 r62814  
    14661466            return RT_SUCCESS(rc);
    14671467        }
    1468         else
    1469         {
    1470             crDebug("HGCM connect failed with rc=0x%x\n", info.result);
    1471 
    1472             VBOXCRHGSMIPROFILE_FUNC_EPILOGUE();
    1473             return FALSE;
    1474         }
    1475     }
    1476     else
    1477     {
     1468        crDebug("HGCM connect failed with rc=0x%x\n", info.result);
     1469
     1470        VBOXCRHGSMIPROFILE_FUNC_EPILOGUE();
     1471        return FALSE;
     1472    }
    14781473#ifdef RT_OS_WINDOWS
     1474    {
    14791475        DWORD winEr = GetLastError();
    14801476        crDebug("IOCTL for HGCM connect failed with rc=0x%x\n", winEr);
     1477    }
    14811478#else
    1482         crDebug("IOCTL for HGCM connect failed with rc=0x%x\n", errno);
    1483 #endif
    1484         VBOXCRHGSMIPROFILE_FUNC_EPILOGUE();
    1485         return FALSE;
    1486     }
    1487 
     1479    crDebug("IOCTL for HGCM connect failed with rc=0x%x\n", errno);
     1480#endif
    14881481    VBOXCRHGSMIPROFILE_FUNC_EPILOGUE();
    14891482    return FALSE;
     
    20142007{
    20152008    int rc;
    2016     int32_t callRes;
     2009    int32_t callRes = VINF_SUCCESS; /* Shut up MSC. */
    20172010    VBOXUHGSMI_BUFFER_SUBMIT aSubmit[2];
    20182011
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