VirtualBox

Changeset 32386 in vbox for trunk/src/VBox/Devices/Storage


Ignore:
Timestamp:
Sep 10, 2010 10:03:26 AM (14 years ago)
Author:
vboxsync
Message:

warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VBoxHDD.cpp

    r32381 r32386  
    25392539            /* Remove from the AVL tree. */
    25402540            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;
    25422542            Assert(fRemoved);
    25432543            RTMemFree(pMetaXfer);
     
    25922592            /* Remove from the AVL tree. */
    25932593            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;
    25952595            Assert(fRemoved);
    25962596            RTMemFree(pMetaXfer);
     
    30373037        {
    30383038            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;
    30403040            AssertMsg(fRemoved, ("Metadata transfer wasn't removed\n"));
    30413041            RTMemFree(pMetaXfer);
     
    30863086        /* Free the meta data entry. */
    30873087        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;
    30893089        AssertMsg(fRemoved, ("Metadata transfer wasn't removed\n"));
    30903090
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette