VirtualBox

Ignore:
Timestamp:
Aug 1, 2016 10:13:35 PM (8 years ago)
Author:
vboxsync
Message:

GAs/common: warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceVMInfo.cpp

    r62761 r62851  
    936936static int vgsvcVMInfoWriteNetwork(void)
    937937{
    938     int         rc = VINF_SUCCESS;
    939938    uint32_t    cIfsReported = 0;
    940939    char        szPropPath[256];
     
    10941093
    10951094    /* Get all available interfaces */
    1096     rc = getifaddrs(&pIfHead);
     1095    int rc = getifaddrs(&pIfHead);
    10971096    if (rc < 0)
    10981097    {
     
    11631162
    11641163#else /* !RT_OS_WINDOWS && !RT_OS_FREEBSD */
     1164    int rc;
    11651165    /*
    11661166     * Use SIOCGIFCONF to get a list of interface/protocol configurations.
     
    11721172    if (sd < 0)
    11731173    {
    1174         rc = RTErrConvertFromErrno(errno);
     1174        int rc = RTErrConvertFromErrno(errno);
    11751175        VGSvcError("VMInfo/Network: Failed to get a socket: Error %Rrc\n", rc);
    11761176        return rc;
     
    11821182    char           *pchBuf;
    11831183    struct ifconf   IfConf;
    1184     rc = VINF_SUCCESS;
     1184    int rc = VINF_SUCCESS;
    11851185    for (;;)
    11861186    {
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