Changeset 32386 in vbox for trunk/src/VBox/Devices/Storage
- Timestamp:
- Sep 10, 2010 10:03:26 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/VBoxHDD.cpp
r32381 r32386 2539 2539 /* Remove from the AVL tree. */ 2540 2540 LogFlow(("Removing meta xfer=%#p\n", pMetaXfer)); 2541 bool fRemoved = RTAvlrFileOffsetRemove(pIoStorage->pTreeMetaXfers, pMetaXfer->Core.Key) ;2541 bool fRemoved = RTAvlrFileOffsetRemove(pIoStorage->pTreeMetaXfers, pMetaXfer->Core.Key) != NULL; 2542 2542 Assert(fRemoved); 2543 2543 RTMemFree(pMetaXfer); … … 2592 2592 /* Remove from the AVL tree. */ 2593 2593 LogFlow(("Removing meta xfer=%#p\n", pMetaXfer)); 2594 bool fRemoved = RTAvlrFileOffsetRemove(pIoStorage->pTreeMetaXfers, pMetaXfer->Core.Key) ;2594 bool fRemoved = RTAvlrFileOffsetRemove(pIoStorage->pTreeMetaXfers, pMetaXfer->Core.Key) != NULL; 2595 2595 Assert(fRemoved); 2596 2596 RTMemFree(pMetaXfer); … … 3037 3037 { 3038 3038 LogFlow(("Removing meta xfer=%#p\n", pMetaXfer)); 3039 bool fRemoved = RTAvlrFileOffsetRemove(pIoStorage->pTreeMetaXfers, pMetaXfer->Core.Key) ;3039 bool fRemoved = RTAvlrFileOffsetRemove(pIoStorage->pTreeMetaXfers, pMetaXfer->Core.Key) != NULL; 3040 3040 AssertMsg(fRemoved, ("Metadata transfer wasn't removed\n")); 3041 3041 RTMemFree(pMetaXfer); … … 3086 3086 /* Free the meta data entry. */ 3087 3087 LogFlow(("Removing meta xfer=%#p\n", pMetaXfer)); 3088 bool fRemoved = RTAvlrFileOffsetRemove(pIoStorage->pTreeMetaXfers, pMetaXfer->Core.Key) ;3088 bool fRemoved = RTAvlrFileOffsetRemove(pIoStorage->pTreeMetaXfers, pMetaXfer->Core.Key) != NULL; 3089 3089 AssertMsg(fRemoved, ("Metadata transfer wasn't removed\n")); 3090 3090
Note:
See TracChangeset
for help on using the changeset viewer.