- Timestamp:
- Nov 2, 2009 1:38:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/MediumImpl.cpp
r24230 r24253 3568 3568 AutoWriteLock alock(this); 3569 3569 3570 AssertReturn(m->state == MediumState_Created ||3571 m->state == MediumState_Inaccessible ||3572 m->state == MediumState_LockedRead,3573 E_FAIL);3570 if ( m->state != MediumState_Created 3571 && m->state != MediumState_Inaccessible 3572 && m->state != MediumState_LockedRead) 3573 return E_FAIL; 3574 3574 3575 3575 HRESULT rc = S_OK;
Note:
See TracChangeset
for help on using the changeset viewer.