VirtualBox

Changeset 6398 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jan 21, 2008 8:20:22 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
27347
Message:

VMM: remove fErrorSet again, not necessary anymore

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

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

    r6362 r6398  
    274274                                AssertMsgFailed(("Add error message for rc=%d (%Vrc)\n", rc, rc));
    275275                        }
    276                         if (pszError && !pVM->vm.s.fErrorSet)
     276                        if (pszError)
    277277                            vmR3CallVMAtError(pfnVMAtError, pvUserVM, rc, RT_SRC_POS, pszError, rc);
    278278
     
    26052605
    26062606    /*
    2607      * Prevent overwriting of the previous error.
    2608      */
    2609     if (pVM->vm.s.fErrorSet)
    2610         return;
    2611 
    2612     pVM->vm.s.fErrorSet = true;
    2613 
    2614     /*
    26152607     * Make a copy of the message.
    26162608     */
  • trunk/src/VBox/VMM/VMInternal.h

    r6347 r6398  
    238238    /** List of registered error callbacks. */
    239239    R3PTRTYPE(PVMATERROR *)         ppAtErrorNext;
    240     /** Ignore all but the first error */
    241     bool                            fErrorSet;
    242240
    243241    /** List of registered error callbacks. */
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