VirtualBox

Changeset 36907 in vbox


Ignore:
Timestamp:
May 2, 2011 11:02:23 AM (14 years ago)
Author:
vboxsync
Message:

VBoxNetAdp: Fixed releasing unit in non-strict/-debug builds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetAdp/VBoxNetAdp.c

    r35824 r36907  
    10881088DECLINLINE(void) vboxNetAdpReleaseUnit(int iUnit)
    10891089{
    1090     Assert(ASMAtomicBitTestAndClear(g_aUnits, iUnit));
     1090    bool fSet = ASMAtomicBitTestAndClear(g_aUnits, iUnit);
     1091    Assert(fSet);
    10911092}
    10921093
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