VirtualBox

Changeset 107689 in vbox for trunk/src


Ignore:
Timestamp:
Jan 10, 2025 4:41:32 PM (10 days ago)
Author:
vboxsync
Message:

Storage/VDIfTcpNet.cpp: Small cleanup, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Storage/VDIfTcpNet.cpp

    r106061 r107689  
    541541static DECLCALLBACK(int) vdIfTcpNetPoke(VDSOCKET hVdSock)
    542542{
    543     int rc = VINF_SUCCESS;
    544543    size_t cbWritten = 0;
    545544    PVDSOCKETINT pSockInt = (PVDSOCKETINT)hVdSock;
     
    549548    if (ASMAtomicReadBool(&pSockInt->fWaiting))
    550549    {
    551         rc = RTPipeWrite(pSockInt->hPipeW, "", 1, &cbWritten);
     550        int rc = RTPipeWrite(pSockInt->hPipeW, "", 1, &cbWritten);
    552551        Assert(RT_SUCCESS(rc) || cbWritten == 0);
    553552    }
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