VirtualBox

Changeset 24613 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Nov 12, 2009 5:04:42 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
54764
Message:

SSM.cpp: assertion instead of bulky code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/SSM.cpp

    r24575 r24613  
    14711471                continue;
    14721472            }
    1473             else if (pszName)
    1474             {
    1475                 AssertMsgFailed(("Caller is not owner! Owner=%p Caller=%p %s\n",
    1476                                  pUnit->u.Drv.pDrvIns, pDrvIns, pszName));
    1477                 return VERR_SSM_UNIT_NOT_OWNER;
    1478             }
     1473
     1474            AssertMsgReturn(!pszName,
     1475                            ("Caller is not owner! Owner=%p Caller=%p %s\n", pUnit->u.Drv.pDrvIns, pDrvIns, pszName),
     1476                            VERR_SSM_UNIT_NOT_OWNER);
    14791477        }
    14801478
Note: See TracChangeset for help on using the changeset viewer.

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