VirtualBox

Changeset 20603 in vbox for trunk/src/VBox/Runtime/generic


Ignore:
Timestamp:
Jun 15, 2009 7:14:51 PM (16 years ago)
Author:
vboxsync
Message:

Runtime/generic SemRW: fix return values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/generic/semsrw-generic.cpp

    r20601 r20603  
    544544    {
    545545        AssertMsgFailed(("Invalid handle %p!\n", RWSem));
    546         return VERR_INVALID_HANDLE;
     546        return false;
    547547    }
    548548
     
    566566    {
    567567        AssertMsgFailed(("Invalid handle %p!\n", RWSem));
    568         return VERR_INVALID_HANDLE;
     568        return 0;
    569569    }
    570570
     
    585585    {
    586586        AssertMsgFailed(("Invalid handle %p!\n", RWSem));
    587         return VERR_INVALID_HANDLE;
     587        return 0;
    588588    }
    589589
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