VirtualBox

Changeset 37672 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 28, 2011 7:48:17 PM (14 years ago)
Author:
vboxsync
Message:

warnings

Location:
trunk/src/VBox
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR0LibSharedFolders.c

    r33994 r37672  
    112112
    113113    rc = VbglHGCMDisconnect (pClient->handle, &data);
     114    NOREF(rc);
    114115/*    Log(("VBOXSF: VBoxSF::vboxDisconnect: "
    115116         "VbglHGCMDisconnect rc = %#x, result = %#x\n", rc, data.result));
  • trunk/src/VBox/Runtime/r0drv/alloc-r0drv.cpp

    r36982 r37672  
    180180RTDECL(void *) RTMemReallocTag(void *pvOld, size_t cbNew, const char *pszTag) RT_NO_THROW
    181181{
     182    PRTMEMHDR pHdrOld;
     183
    182184    /* Free. */
    183185    if (!cbNew && pvOld)
     
    194196     * Realloc.
    195197     */
    196     PRTMEMHDR pHdrOld = (PRTMEMHDR)pvOld - 1;
     198    pHdrOld = (PRTMEMHDR)pvOld - 1;
    197199    RT_ASSERT_PREEMPTIBLE();
    198200
  • trunk/src/VBox/Runtime/r0drv/linux/mp-r0drv-linux.c

    r37295 r37672  
    204204    RTMPARGS Args;
    205205
     206#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)
    206207    RTTHREADPREEMPTSTATE PreemptState = RTTHREADPREEMPTSTATE_INITIALIZER;
     208#endif
    207209    Args.pfnWorker = pfnWorker;
    208210    Args.pvUser1 = pvUser1;
     
    215217#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0)
    216218    rc = on_each_cpu(rtmpLinuxWrapper, &Args, 0 /* retry */, 1 /* wait */);
    217 
    218219#else /* older kernels */
    219 
    220220    RTThreadPreemptDisable(&PreemptState);
    221221    rc = smp_call_function(rtmpLinuxWrapper, &Args, 0 /* retry */, 1 /* wait */);
  • trunk/src/VBox/Runtime/r0drv/linux/mpnotification-r0drv-linux.c

    r37297 r37672  
    190190     */
    191191    rc = RTMpOnSpecific(idCpu, rtMpNotificationLinuxOnCurrentCpu, pNotifierBlock, &ulNativeEvent);
    192     Assert(RT_SUCCESS(rc));
     192    Assert(RT_SUCCESS(rc)); NOREF(rc);
    193193    return NOTIFY_DONE;
    194194}
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