VirtualBox

Changeset 107628 in vbox


Ignore:
Timestamp:
Jan 10, 2025 10:25:34 AM (8 days ago)
Author:
vboxsync
Message:

Main/src-all/GlobalStatusConversion.cpp: Remove redundant condition, aVBoxStatus is always < 0 at this point due to the RT_SUCCESS() check before, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-all/GlobalStatusConversion.cpp

    r106061 r107628  
    129129
    130130            /* try categorize it */
    131             if (   aVBoxStatus < 0
    132                 && (   aVBoxStatus > -1000
    133                     || (aVBoxStatus < -22000 && aVBoxStatus > -32766) )
    134                )
     131            if (   aVBoxStatus > -1000
     132                || (aVBoxStatus < -22000 && aVBoxStatus > -32766))
    135133                return VBOX_E_IPRT_ERROR;
    136134            if (    aVBoxStatus <  VERR_PDM_NO_SUCH_LUN / 100 * 10
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