VirtualBox

Changeset 107779 in vbox for trunk


Ignore:
Timestamp:
Jan 15, 2025 1:10:20 PM (3 weeks ago)
Author:
vboxsync
Message:

VMM/VMMR3/DBGF.cpp: Disable unnecessary else if condition and replace with a simple else because the unsigned type enfores the condition to be always true in the else branch, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/DBGF.cpp

    r107227 r107779  
    17711771                                    pVM->dbgf.s.SteppingFilter.cMaxSteps = pVM->dbgf.s.SteppingFilter.cSteps + 1;
    17721772                            }
    1773                             else if (pVM->dbgf.s.SteppingFilter.uCallDepth > 0)
     1773                            else /*if (pVM->dbgf.s.SteppingFilter.uCallDepth > 0)*/
    17741774                                pVM->dbgf.s.SteppingFilter.uCallDepth--;
    17751775                            break;
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