VirtualBox

Changeset 62567 in vbox for trunk/src


Ignore:
Timestamp:
Jul 26, 2016 3:20:12 PM (8 years ago)
Author:
vboxsync
Message:

IPRT: More unused parameters.

Location:
trunk/src/VBox/Runtime
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/errvars-generic.cpp

    r62477 r62567  
    4747{
    4848    Assert(pVars->ai32Vars[0] == RTERRVARS_MAGIC);
     49    RT_NOREF_PV(pVars);
    4950}
    5051
     
    6263{
    6364    Assert(pVars->ai32Vars[0] == RTERRVARS_MAGIC);
     65    RT_NOREF_PV(pVars);
    6466    return false;
    6567}
  • trunk/src/VBox/Runtime/r0drv/alloc-r0drv.cpp

    r62566 r62567  
    403403{
    404404    PRTMEMHDR pHdr;
     405    RT_NOREF_PV(cb);
    405406
    406407    if (!pv)
  • trunk/src/VBox/Runtime/r0drv/initterm-r0drv.cpp

    r62477 r62567  
    6767    int rc;
    6868    uint32_t cNewUsers;
    69     Assert(fReserved == 0);
     69    Assert(fReserved == 0); RT_NOREF_PV(fReserved);
    7070#ifndef RT_OS_SOLARIS       /* On Solaris our thread preemption information is only obtained in rtR0InitNative().*/
    7171    RT_ASSERT_PREEMPTIBLE();
  • trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c

    r62477 r62567  
    189189    unsigned long ulAddr;
    190190
    191     Assert((pTask == current)); /* do_mmap */
     191    Assert(pTask == current); /* do_mmap */
     192    RT_NOREF_PV(pTask);
    192193
    193194    /*
     
    257258{
    258259#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 5, 0)
    259     Assert(pTask == current);
     260    Assert(pTask == current); RT_NOREF_PV(pTask);
    260261    vm_munmap((unsigned long)pv, cb);
    261262#elif defined(USE_RHEL4_MUNMAP)
  • trunk/src/VBox/Runtime/r0drv/linux/thread-r0drv-linux.c

    r62477 r62567  
    105105{
    106106#ifdef CONFIG_PREEMPT
    107     Assert(hThread == NIL_RTTHREAD);
     107    Assert(hThread == NIL_RTTHREAD); RT_NOREF_PV(hThread);
    108108# ifdef preemptible
    109109    return preemptible();
     
    138138RTDECL(bool) RTThreadPreemptIsPending(RTTHREAD hThread)
    139139{
    140     Assert(hThread == NIL_RTTHREAD);
     140    Assert(hThread == NIL_RTTHREAD); RT_NOREF_PV(hThread);
    141141#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 4)
    142142    return !!test_tsk_thread_flag(current, TIF_NEED_RESCHED);
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