VirtualBox

vbox的更動 62567 路徑 trunk/src/VBox/Runtime


忽略:
時間撮記:
2016-7-26 下午03:20:12 (8 年 以前)
作者:
vboxsync
訊息:

IPRT: More unused parameters.

位置:
trunk/src/VBox/Runtime
檔案:
修改 5 筆資料

圖例:

未更動
新增
刪除
  • 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);
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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