Changeset 94745 in vbox for trunk/src/VBox
- Timestamp:
- Apr 28, 2022 6:25:09 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-all/NvramStoreImpl.cpp
r94743 r94745 870 870 return m->pParent->i_retainCryptoIf(ppCryptoIf); 871 871 #else 872 return m->pParent->i_getVirtualBox()->i_retainCryptoIf(ppCryptoIf); 872 HRESULT hrc = m->pParent->i_getVirtualBox()->i_retainCryptoIf(ppCryptoIf); 873 if (SUCCEEDED(hrc)) 874 return VINF_SUCCESS; 875 876 return VERR_COM_IPRT_ERROR; 873 877 #endif 874 878 } … … 880 884 return m->pParent->i_releaseCryptoIf(pCryptoIf); 881 885 #else 882 return m->pParent->i_getVirtualBox()->i_releaseCryptoIf(pCryptoIf); 886 HRESULT hrc = m->pParent->i_getVirtualBox()->i_releaseCryptoIf(pCryptoIf); 887 if (SUCCEEDED(hrc)) 888 return VINF_SUCCESS; 889 890 return VERR_COM_IPRT_ERROR; 883 891 #endif 884 892 }
Note:
See TracChangeset
for help on using the changeset viewer.