VirtualBox

Changeset 107476 in vbox for trunk/src


Ignore:
Timestamp:
Jan 8, 2025 4:59:50 AM (11 days ago)
Author:
vboxsync
Message:

FE/Qt: bugref:3409: VM Settings / Storage page: Fix for similar parfait warnings related to redundant condition.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsStorage.cpp

    r106061 r107476  
    639639        {
    640640            /* Save controller type: */
    641             if (fSuccess)
     641            // if (fSuccess)
    642642            {
    643643                comController.SetControllerType(newControllerData.m_guiValue.m_enmType);
     
    658658            {
    659659                ULONG uNewPortCount = newControllerData.m_guiValue.m_uPortCount;
    660                 if (fSuccess)
     660                // if (fSuccess)
    661661                {
    662662                    uNewPortCount = qMax(uNewPortCount, comController.GetMinPortCount());
     
    718718        {
    719719            /* Save controller type: */
    720             if (fSuccess && newControllerData.m_guiValue.m_enmType != oldControllerData.m_guiValue.m_enmType)
     720            if (/*fSuccess &&*/ newControllerData.m_guiValue.m_enmType != oldControllerData.m_guiValue.m_enmType)
    721721            {
    722722                comController.SetControllerType(newControllerData.m_guiValue.m_enmType);
     
    738738            {
    739739                ULONG uNewPortCount = newControllerData.m_guiValue.m_uPortCount;
    740                 if (fSuccess)
     740                // if (fSuccess)
    741741                {
    742742                    uNewPortCount = qMax(uNewPortCount, comController.GetMinPortCount());
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