VirtualBox

Changeset 63482 in vbox


Ignore:
Timestamp:
Aug 15, 2016 2:24:48 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
110134
Message:

Devices: warnings (clang)

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DevIchHda.cpp

    r63478 r63482  
    12221222
    12231223
     1224# if defined(IN_RING3) && (defined(DEBUG) || defined(VBOX_HDA_WITH_FIFO))
    12241225/**
    12251226 * Retrieves the number of bytes of a FIFOW register.
     
    12411242    return cb;
    12421243}
     1244#endif
    12431245
    12441246
  • trunk/src/VBox/Devices/Audio/DrvHostCoreAudio.cpp

    r63467 r63482  
    634634                                                   void *pvUser)
    635635{
    636     RT_NOREF(paProperties)
     636    RT_NOREF(propertyID, cAddresses, paProperties)
    637637    LogFlowFunc(("propertyID=%u cAddresses=%u pvUser=%p\n", propertyID, cAddresses, pvUser));
    638638
     
    712712                                              void *pvUser)
    713713{
    714     OSStatus err = noErr;
    715 
     714    RT_NOREF(propertyID);
    716715    LogFlowFunc(("propertyID=%u cAddresses=%u pvUser=%p\n", propertyID, cAddresses, pvUser));
    717716
     
    719718    AssertPtr(pCbCtx);
    720719
     720    OSStatus err = noErr;
    721721    for (UInt32 idxAddress = 0; idxAddress < cAddresses; idxAddress++)
    722722    {
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-cocoa.m

    r63480 r63482  
    835835VMSVGA3DCOCOA_DECL(void) vmsvga3dCocoaViewSetPosition(NativeNSViewRef pView, NativeNSViewRef pParentView, int x, int y)
    836836{
     837    RT_NOREF(pParentView);
    837838    LogFlow(("vmsvga3dCocoaViewSetPosition: pView=%p pParentView=%p (%d,%d)\n", (void *)pView, (void *)pParentView, x, y));
    838839    NSAutoreleasePool *pPool = [[NSAutoreleasePool alloc] init];
  • trunk/src/VBox/Devices/Storage/DrvHostBase.cpp

    r63478 r63482  
    212212static DECLCALLBACK(int) drvHostBaseWrite(PPDMIMEDIA pInterface, uint64_t off, const void *pvBuf, size_t cbWrite)
    213213{
     214    RT_NOREF(off, pvBuf, cbWrite);
    214215    PDRVHOSTBASE pThis = PDMIMEDIA_2_DRVHOSTBASE(pInterface);
    215216    LogFlow(("%s-%d: drvHostBaseWrite: off=%#llx pvBuf=%p cbWrite=%#x (%s)\n",
  • trunk/src/VBox/Devices/Storage/UsbMsd.cpp

    r62954 r63482  
    780780
    781781
     782#ifdef VBOX_STRICT
    782783/**
    783784 * Checks if the queue is empty or not.
     
    790791    return pQueue->pHead == NULL;
    791792}
     793#endif /* VBOX_STRICT */
    792794
    793795
Note: See TracChangeset for help on using the changeset viewer.

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