VirtualBox

Ignore:
Timestamp:
Oct 10, 2024 5:13:57 AM (7 weeks ago)
Author:
vboxsync
Message:

ValidationKit/bootsectors: fix off-by-one, remove unused var; bugref:10658

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-instr-4.c32

    r106269 r106270  
    25712571    static const char * const s_apszMaskType[] = { "Specified", "Expected", "Implied", "Combined", "Masked", "Unmasked", "Random" };
    25722572    unsigned iMaskType;
    2573     static bool      sfMismatchShown     = false;
    25742573
    25752574    /*
     
    26392638     * random exceptions already turned on; both random mask & exceptions.
    26402639     */
    2641     for (iMaskType = 0; iMaskType <= RT_ELEMENTS(s_apszMaskType); iMaskType++)
     2640    for (iMaskType = 0; iMaskType < RT_ELEMENTS(s_apszMaskType); iMaskType++)
    26422641    {
    26432642        if (BS3_SKIPIT(0, 0, 0, pTestCtx->iVal, iMaskType))
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