Changeset 81682 in vbox for trunk/src/VBox/Main
- Timestamp:
- Nov 5, 2019 7:08:21 PM (5 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl.cpp
r81603 r81682 2791 2791 2792 2792 #else /* !VBOX_WITH_USB */ 2793 RT_NOREF(aId, aCaptureFilename); 2793 2794 return setError(VBOX_E_PDM_ERROR, tr("The virtual machine does not have a USB controller")); 2794 2795 #endif /* !VBOX_WITH_USB */ … … 2853 2854 2854 2855 #else /* !VBOX_WITH_USB */ 2856 RT_NOREF(aId, aDevice); 2855 2857 return setError(VBOX_E_PDM_ERROR, tr("The virtual machine does not have a USB controller")); 2856 2858 #endif /* !VBOX_WITH_USB */ … … 2885 2887 2886 2888 #else /* !VBOX_WITH_USB */ 2889 RT_NOREF(aName, aDevice); 2887 2890 return E_NOTIMPL; 2888 2891 #endif /* !VBOX_WITH_USB */ … … 2917 2920 2918 2921 #else /* !VBOX_WITH_USB */ 2922 RT_NOREF(aId, aDevice); 2919 2923 return E_NOTIMPL; 2920 2924 #endif /* !VBOX_WITH_USB */ … … 5850 5854 5851 5855 #else /* !VBOX_WITH_USB */ 5856 RT_NOREF(aDevice, aError, aMaskedIfs, aCaptureFilename); 5852 5857 return E_FAIL; 5853 5858 #endif /* !VBOX_WITH_USB */ … … 5861 5866 */ 5862 5867 HRESULT Console::i_onUSBDeviceDetach(IN_BSTR aId, 5863 IVirtualBoxErrorInfo *aError)5868 IVirtualBoxErrorInfo *aError) 5864 5869 { 5865 5870 #ifdef VBOX_WITH_USB … … 5942 5947 5943 5948 #else /* !VBOX_WITH_USB */ 5949 RT_NOREF(aId, aError); 5944 5950 return E_FAIL; 5945 5951 #endif /* !VBOX_WITH_USB */ -
trunk/src/VBox/Main/src-client/ConsoleVRDPServer.cpp
r80377 r81682 1059 1059 return USBClientResponseCallback(pvIntercept, u32ClientId, u8Code, pvRet, cbRet); 1060 1060 #else 1061 RT_NOREF(pvCallback, pvIntercept, u32ClientId, u8Code, pvRet, cbRet); 1061 1062 return VERR_NOT_SUPPORTED; 1062 1063 #endif … … 3394 3395 } 3395 3396 } 3397 #else 3398 RT_NOREF(u32ClientId, ppvIntercept); 3396 3399 #endif /* VBOX_WITH_USB */ 3397 3400 } … … 3425 3428 pRemoteUSBBackend->Release(); 3426 3429 } 3430 #else 3431 RT_NOREF(u32ClientId); 3427 3432 #endif 3428 3433 } … … 3463 3468 return pRemoteUSBBackend->GetBackendCallbackPointer(); 3464 3469 } 3465 3470 #else 3471 RT_NOREF(u32ClientId, pGuid); 3466 3472 #endif 3467 3473 return NULL; … … 3492 3498 } 3493 3499 } 3500 #else 3501 RT_NOREF(pGuid); 3494 3502 #endif 3495 3503 } … … 3601 3609 3602 3610 unlockConsoleVRDPServer(); 3611 #else 3612 RT_NOREF(pRemoteUSBBackend); 3603 3613 #endif 3604 3614 } -
trunk/src/VBox/Main/src-server/ApplianceImplExport.cpp
r81119 r81682 91 91 pNewDesc->m->pMachine = this; 92 92 93 #ifdef VBOX_WITH_USB 93 94 // first, call the COM methods, as they request locks 94 95 BOOL fUSBEnabled = FALSE; … … 108 109 } 109 110 } 111 #endif /* VBOX_WITH_USB */ 110 112 111 113 // request the machine lock while accessing internal members -
trunk/src/VBox/Main/src-server/HostImpl.cpp
r81605 r81682 975 975 * extended error info to indicate that USB is simply not available 976 976 * (w/o treating it as a failure), for example, as in OSE. */ 977 NOREF(aUSBDevices); 978 # ifndef RT_OS_WINDOWS 979 NOREF(aUSBDevices); 980 # endif 977 RT_NOREF(aUSBDevices); 981 978 ReturnComNotImplemented(); 982 979 #endif … … 1032 1029 * extended error info to indicate that USB is simply not available 1033 1030 * (w/o treating it as a failure), for example, as in OSE. */ 1034 NOREF(aUSBDeviceFilters); 1035 # ifndef RT_OS_WINDOWS 1036 NOREF(aUSBDeviceFilters); 1037 # endif 1031 RT_NOREF(aUSBDeviceFilters); 1038 1032 ReturnComNotImplemented(); 1039 1033 #endif … … 1547 1541 * extended error info to indicate that USB is simply not available 1548 1542 * (w/o treating it as a failure), for example, as in OSE. */ 1549 NOREF(aName); 1550 NOREF(aFilter); 1543 RT_NOREF(aName, aFilter); 1551 1544 ReturnComNotImplemented(); 1552 1545 #endif … … 1608 1601 * extended error info to indicate that USB is simply not available 1609 1602 * (w/o treating it as a failure), for example, as in OSE. */ 1610 NOREF(aPosition); 1611 NOREF(aFilter); 1603 RT_NOREF(aPosition, aFilter); 1612 1604 ReturnComNotImplemented(); 1613 1605 #endif … … 1662 1654 * extended error info to indicate that USB is simply not available 1663 1655 * (w/o treating it as a failure), for example, as in OSE. */ 1664 NOREF(aPosition);1656 RT_NOREF(aPosition); 1665 1657 ReturnComNotImplemented(); 1666 1658 #endif … … 1851 1843 1852 1844 #else /* !VBOX_WITH_USB */ 1853 NOREF(aName); 1854 NOREF(aDevice); 1845 RT_NOREF(aName, aDevice); 1855 1846 return E_NOTIMPL; 1856 1847 #endif /* !VBOX_WITH_USB */ … … 1886 1877 1887 1878 #else /* !VBOX_WITH_USB */ 1888 NOREF(aId); 1889 NOREF(aDevice); 1879 RT_NOREF(aId, aDevice); 1890 1880 return E_NOTIMPL; 1891 1881 #endif /* !VBOX_WITH_USB */ … … 1929 1919 return m->pUSBProxyService->addUSBDeviceSource(aBackend, aId, aAddress, aPropertyNames, aPropertyValues); 1930 1920 #else 1921 RT_NOREF(aBackend, aId, aAddress, aPropertyNames, aPropertyValues); 1931 1922 ReturnComNotImplemented(); 1932 1923 #endif … … 1939 1930 return m->pUSBProxyService->removeUSBDeviceSource(aId); 1940 1931 #else 1932 RT_NOREF(aId); 1941 1933 ReturnComNotImplemented(); 1942 1934 #endif … … 1980 1972 rc = m->pUSBProxyService->i_loadSettings(data.llUSBDeviceSources); 1981 1973 #else 1982 NOREF(data);1974 RT_NOREF(data); 1983 1975 #endif /* VBOX_WITH_USB */ 1984 1976 return rc; … … 2009 2001 return m->pUSBProxyService->i_saveSettings(data.llUSBDeviceSources); 2010 2002 #else 2011 NOREF(data);2003 RT_NOREF(data); 2012 2004 return S_OK; 2013 2005 #endif /* VBOX_WITH_USB */ … … 2392 2384 } 2393 2385 #else 2394 NOREF(list);2386 RT_NOREF(list); 2395 2387 /* PORTME */ 2396 2388 #endif -
trunk/src/VBox/Main/src-server/MachineImpl.cpp
r81427 r81682 13426 13426 return service->captureDeviceForVM(this, aId.ref(), aCaptureFilename); 13427 13427 #else 13428 NOREF(aId);13428 RT_NOREF(aId, aCaptureFilename); 13429 13429 return E_NOTIMPL; 13430 13430 #endif -
trunk/src/VBox/Main/src-server/USBDeviceFiltersImpl.cpp
r76592 r81682 516 516 pFilter->mInList = true; 517 517 } 518 #else 519 RT_NOREF(data); 518 520 #endif /* VBOX_WITH_USB */ 519 521 … … 569 571 data.llDeviceFilters.push_back(f); 570 572 } 573 #else 574 RT_NOREF(data); 571 575 #endif /* VBOX_WITH_USB */ 572 576
Note:
See TracChangeset
for help on using the changeset viewer.