VirtualBox

Changeset 19042 in vbox


Ignore:
Timestamp:
Apr 21, 2009 2:07:18 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
46161
Message:

MM: Respin of the fix for the 'enmOcPolicy maybe used uninitialized' warning (wrong assertion macro).

File:
1 edited

Legend:

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

    r19022 r19042  
    339339     * value is 'no overcommitment' (default). See GMMPOLICY.
    340340     */
    341     GMMOCPOLICY enmOcPolicy = GMMOCPOLICY_NO_OC;
     341    GMMOCPOLICY enmOcPolicy;
    342342    char sz[64];
    343343    rc = CFGMR3QueryString(CFGMR3GetRoot(pVM), "Policy", sz, sizeof(sz));
     
    353353        enmOcPolicy = GMMOCPOLICY_NO_OC;
    354354    else
    355         AssertMsgRCReturn(rc, ("Configuration error: Failed to query string \"MM/Policy\", rc=%Rrc.\n", rc), rc);
     355        AssertMsgFailedReturn(("Configuration error: Failed to query string \"MM/Policy\", rc=%Rrc.\n", rc), rc);
    356356
    357357    /** @cfgm{MM/Priority, string, normal}
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