VirtualBox

Changeset 63418 in vbox


Ignore:
Timestamp:
Aug 13, 2016 4:58:12 PM (8 years ago)
Author:
vboxsync
Message:

main: warnings in weird configs

Location:
trunk/src/VBox/Main
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r63239 r63418  
    528528HRESULT Console::i_attachRawPCIDevices(PUVM pUVM, BusAssignmentManager *pBusMgr, PCFGMNODE pDevices)
    529529{
     530# ifndef VBOX_WITH_EXTPACK
     531    RT_NOREF(pUVM);
     532# endif
    530533    HRESULT hrc = S_OK;
    531534    PCFGMNODE pInst, pCfg, pLunL0, pLunL1;
     
    18861889                     * introduced by the new distribution model.
    18871890                     */
     1891# ifdef VBOX_WITH_EXTPACK
    18881892                    static const char *s_pszUsbExtPackName = "Oracle VM VirtualBox Extension Pack";
    1889 # ifdef VBOX_WITH_EXTPACK
    18901893                    if (mptrExtPackManager->i_isExtPackUsable(s_pszUsbExtPackName))
    18911894# endif
     
    19341937                     * introduced by the new distribution model.
    19351938                     */
     1939# ifdef VBOX_WITH_EXTPACK
    19361940                    static const char *s_pszUsbExtPackName = "Oracle VM VirtualBox Extension Pack";
    1937 # ifdef VBOX_WITH_EXTPACK
    19381941                    if (mptrExtPackManager->i_isExtPackUsable(s_pszUsbExtPackName))
    19391942# endif
  • trunk/src/VBox/Main/src-client/DisplayImpl.cpp

    r63244 r63418  
    882882        return rc;
    883883    }
    884 #endif /* #if defined(VBOX_WITH_HGCM) && defined(VBOX_WITH_CROGL) */
     884#else /* !VBOX_WITH_HGCM || !VBOX_WITH_CROGL */
     885    RT_NOREF(pScreen, pvVRAM);
     886#endif
    885887    return VINF_SUCCESS;
    886888}
     
    36763678
    36773679    return hr;
    3678 #else
     3680
     3681#else /* !VBOX_WITH_HGCM || !VBOX_WITH_CROGL */
     3682    RT_NOREF(aScreenId, aScaleFactorWMultiplied, aScaleFactorHMultiplied);
    36793683    AssertMsgFailed(("Attempt to specify OpenGL content scale factor while corresponding functionality is disabled."));
    36803684    return E_UNEXPECTED;
    3681 #endif /* VBOX_WITH_HGCM && VBOX_WITH_CROGL */
     3685#endif /* !VBOX_WITH_HGCM || !VBOX_WITH_CROGL */
    36823686}
    36833687
     
    37413745
    37423746    return hr;
    3743 #else
     3747
     3748#else /* !VBOX_WITH_HGCM || !VBOX_WITH_CROGL */
     3749    RT_NOREF(fUnscaledHiDPI);
    37443750    AssertMsgFailed(("Attempt to notify OpenGL about HiDPI output scaling policy change while corresponding functionality is disabled."));
    37453751    return E_UNEXPECTED;
    3746 #endif /* VBOX_WITH_HGCM && VBOX_WITH_CROGL */
     3752#endif /* !VBOX_WITH_HGCM || !VBOX_WITH_CROGL */
    37473753}
    37483754
  • trunk/src/VBox/Main/src-client/GuestImpl.cpp

    r63244 r63418  
    492492{
    493493#ifndef VBOX_WITH_DRAG_AND_DROP
     494    RT_NOREF(aDnDSource);
    494495    ReturnComNotImplemented();
    495496#else
     
    507508{
    508509#ifndef VBOX_WITH_DRAG_AND_DROP
     510    RT_NOREF(aDnDTarget);
    509511    ReturnComNotImplemented();
    510512#else
  • trunk/src/VBox/Main/src-server/MediumImpl.cpp

    r63256 r63418  
    35673567HRESULT Medium::getEncryptionSettings(com::Utf8Str &aCipher, com::Utf8Str &aPasswordId)
    35683568{
     3569#ifndef VBOX_WITH_EXTPACK
     3570    RT_NOREF(aCipher, aPasswordId);
     3571#endif
    35693572    HRESULT rc = S_OK;
    35703573
     
    98869889HRESULT Medium::i_taskEncryptHandler(Medium::EncryptTask &task)
    98879890{
     9891# ifndef VBOX_WITH_EXTPACK
     9892    RT_NOREF(task);
     9893# endif
    98889894    HRESULT rc = S_OK;
    98899895
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