VirtualBox

Changeset 39032 in vbox for trunk/src/VBox/Runtime/r3/posix


Ignore:
Timestamp:
Oct 19, 2011 11:08:50 AM (13 years ago)
Author:
vboxsync
Message:

IPRT: Fixed unused variable warnings.

Location:
trunk/src/VBox/Runtime/r3/posix
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/posix/process-creation-posix.cpp

    r37499 r39032  
    697697    if (!fNoChDir)
    698698    {
    699         int rcChdir = chdir("/");
     699        int rcIgnored = chdir("/");
     700        NOREF(rcIgnored);
    700701    }
    701702
     
    712713            char szBuf[256];
    713714            size_t cbPid = RTStrPrintf(szBuf, sizeof(szBuf), "%d\n", pid);
    714             int rcWrite = write(fdPidfile, szBuf, cbPid);
     715            ssize_t cbIgnored = write(fdPidfile, szBuf, cbPid); NOREF(cbIgnored);
    715716            close(fdPidfile);
    716717        }
  • trunk/src/VBox/Runtime/r3/posix/semevent-posix.cpp

    r33540 r39032  
    311311DECL_FORCE_INLINE(int) rtSemEventWait(RTSEMEVENT hEventSem, RTMSINTERVAL cMillies, bool fAutoResume)
    312312{
     313#ifdef RTSEMEVENT_STRICT
    313314    PCRTLOCKVALSRCPOS  pSrcPos = NULL;
     315#endif
    314316
    315317    /*
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