VirtualBox

Ignore:
Timestamp:
Jul 29, 2016 11:04:35 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109246
Message:

ValidationKit/utils: warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/TestExecServ/TestExecServiceTcp.cpp

    r62484 r62673  
    126126 * @returns NIL_RTSOCKET if consumed, other wise hTcpClient.
    127127 * @param   hTcpClient      The client socket.
    128  * @param   fFromServer     Set if server type connection.
    129  */
    130 static RTSOCKET txsTcpSetClient(RTSOCKET hTcpClient, bool fFromServer)
     128 */
     129static RTSOCKET txsTcpSetClient(RTSOCKET hTcpClient)
    131130{
    132131    RTCritSectEnter(&g_TcpCritSect);
     
    159158    if (RT_SUCCESS(rc))
    160159    {
    161         hTcpClient = txsTcpSetClient(hTcpClient, true /*fFromServer*/);
     160        hTcpClient = txsTcpSetClient(hTcpClient);
    162161        RTTcpServerDisconnectClient2(hTcpClient);
    163162    }
    164163
     164    RT_NOREF2(hSelf, pvUser);
    165165    return rc;
    166166}
     
    192192static DECLCALLBACK(int) txsTcpClientConnectThread(RTTHREAD hSelf, void *pvUser)
    193193{
     194    RT_NOREF1(pvUser);
     195
    194196    for (;;)
    195197    {
     
    209211        if (RT_SUCCESS(rc))
    210212        {
    211             hTcpClient = txsTcpSetClient(hTcpClient, true /*fFromServer*/);
     213            hTcpClient = txsTcpSetClient(hTcpClient);
    212214            RTTcpClientCloseEx(hTcpClient, true /* fGracefulShutdown*/);
    213215            break;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette