VirtualBox

Changeset 34185 in vbox for trunk/src/VBox/VMM/CFGM.cpp


Ignore:
Timestamp:
Nov 18, 2010 9:19:45 PM (14 years ago)
Author:
vboxsync
Message:

CFGMR3QueryBoolDef: Must not forget to set pf on failure.

File:
1 edited

Legend:

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

    r33540 r34185  
    23012301    uint64_t u64;
    23022302    int rc = CFGMR3QueryIntegerDef(pNode, pszName, &u64, fDef);
    2303     if (RT_SUCCESS(rc))
    2304         *pf = u64 ? true : false;
     2303    *pf = u64 ? true : false;
    23052304    return rc;
    23062305}
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