VirtualBox

Changeset 81951 in vbox


Ignore:
Timestamp:
Nov 18, 2019 4:45:41 PM (5 years ago)
Author:
vboxsync
Message:

PDMDevHlp: clang build fix (unused inline function). bugref:9218

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp

    r81938 r81951  
    5757#endif
    5858
    59 
    60 
    61 /**
    62  * Wrapper around PDMR3LdrGetSymbolRCLazy.
    63  */
    64 DECLINLINE(int) pdmR3DevGetSymbolRCLazy(PPDMDEVINS pDevIns, const char *pszSymbol, PRTRCPTR ppvValue)
    65 {
    66     PVM pVM = pDevIns->Internal.s.pVMR3;
    67     if (!VM_IS_RAW_MODE_ENABLED(pVM))
    68     {
    69         *ppvValue = NIL_RTRCPTR;
    70         return VINF_SUCCESS;
    71     }
    72     return PDMR3LdrGetSymbolRCLazy(pVM,
    73                                    pDevIns->Internal.s.pDevR3->pReg->pszRCMod,
    74                                    pDevIns->Internal.s.pDevR3->pszRCSearchPath,
    75                                    pszSymbol, ppvValue);
    76 }
    7759
    7860
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