Changeset 18150 in vbox
- Timestamp:
- Mar 23, 2009 4:29:52 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/VBoxHDD.cpp
r17970 r18150 2125 2125 VBOXDDU_DECL(int) VDClose(PVBOXHDD pDisk, bool fDelete) 2126 2126 { 2127 int rc = VINF_SUCCESS; ;2127 int rc = VINF_SUCCESS; 2128 2128 2129 2129 LogFlowFunc(("pDisk=%#p fDelete=%d\n", pDisk, fDelete)); … … 2135 2135 2136 2136 PVDIMAGE pImage = pDisk->pLast; 2137 AssertPtrBreakStmt(pImage, rc = VERR_VD_NOT_OPENED); 2137 if (!pImage) 2138 { 2139 rc = VERR_VD_NOT_OPENED; 2140 break; 2141 } 2138 2142 unsigned uOpenFlags = pImage->Backend->pfnGetOpenFlags(pImage->pvBackendData); 2139 2143 /* Remove image from list of opened images. */
Note:
See TracChangeset
for help on using the changeset viewer.