VirtualBox

Changeset 107577 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 9, 2025 9:50:24 AM (10 days ago)
Author:
vboxsync
Message:

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

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

Legend:

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

    r106061 r107577  
    5050
    5151int HGCMHostRegisterServiceExtension(HGCMSVCEXTHANDLE *pHandle, const char *pszServiceName, PFNHGCMSVCEXT pfnExtension, void *pvExtension);
    52 void HGCMHostUnregisterServiceExtension(HGCMSVCEXTHANDLE handle);
     52int HGCMHostUnregisterServiceExtension(HGCMSVCEXTHANDLE handle);
    5353
    5454int HGCMGuestConnect(PPDMIHGCMPORT pHGCMPort, PVBOXHGCMCMD pCmdPtr, const char *pszServiceName, uint32_t *pClientID);
  • trunk/src/VBox/Main/src-client/HGCM.cpp

    r107501 r107577  
    26582658}
    26592659
    2660 void HGCMHostUnregisterServiceExtension(HGCMSVCEXTHANDLE handle)
     2660int HGCMHostUnregisterServiceExtension(HGCMSVCEXTHANDLE handle)
    26612661{
    26622662    LogFlowFunc(("handle = %p\n", handle));
     
    26652665    HGCMMsgCore *pCoreMsg;
    26662666    int vrc = hgcmMsgAlloc(g_pHgcmThread, &pCoreMsg, HGCM_MSG_UNREGEXT, hgcmMainMessageAlloc);
    2667 
    26682667    if (RT_SUCCESS(vrc))
    26692668    {
     
    26772676
    26782677    LogFlowFunc(("vrc = %Rrc\n", vrc));
    2679     return;
     2678    return vrc;
    26802679}
    26812680
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