VirtualBox

Ignore:
Timestamp:
Aug 15, 2016 12:39:40 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
110098
Message:

Runtime: warnings

Location:
trunk/src/VBox/Runtime/r0drv/darwin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/darwin/alloc-r0drv-darwin.cpp

    r62477 r63451  
    2929*   Header Files                                                                                                                 *
    3030*********************************************************************************************************************************/
     31#pragma GCC diagnostic ignored "-Wdeprecated-declarations" /* (IOMallocContiguous et al are deprecated) */
    3132#include "the-darwin-kernel.h"
    3233#include "internal/iprt.h"
  • trunk/src/VBox/Runtime/r0drv/darwin/dbgkrnlinfo-r0drv-darwin.cpp

    r62477 r63451  
    771771                /* Validate the sections. */
    772772                uint32_t            uAlignment = 0;
    773                 uintptr_t           uAddr      = pSeg->vmaddr;
    774773                MY_SECTION const   *paSects    = (MY_SECTION const *)(pSeg + 1);
    775774                for (uint32_t i = 0; i < pSeg->nsects; i++)
     
    11671166    AssertPtrReturn(pThis, VERR_INVALID_HANDLE);
    11681167    AssertMsgReturn(pThis->u32Magic == RTDBGKRNLINFO_MAGIC, ("%p: u32Magic=%RX32\n", pThis, pThis->u32Magic), VERR_INVALID_HANDLE);
    1169     AssertPtrReturn(pszMember, VERR_INVALID_PARAMETER);
    1170     AssertPtrReturn(pszStructure, VERR_INVALID_PARAMETER);
    1171     AssertPtrReturn(poffMember, VERR_INVALID_PARAMETER);
     1168    AssertPtrReturn(pszMember, VERR_INVALID_POINTER);
     1169    AssertPtrReturn(pszModule, VERR_INVALID_POINTER);
     1170    AssertPtrReturn(pszStructure, VERR_INVALID_POINTER);
     1171    AssertPtrReturn(poffMember, VERR_INVALID_POINTER);
    11721172    return VERR_NOT_FOUND;
    11731173}
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