VirtualBox

Ignore:
Timestamp:
Nov 1, 2022 2:02:24 AM (2 years ago)
Author:
vboxsync
Message:

VMM/IEM: Removed a lot of now unnecessary return statements, while keeping unnecessary break statements for the look of the think. Also added missing IEM_NOT_REACHED_DEFAULT_CASE_RET uses to try make sure all cases in the switches will return and we can skip the function (typically) return statement. bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllInstructionsThree0f3a.cpp.h

    r97356 r97361  
    9090        IEM_MC_END();
    9191    }
    92     return VINF_SUCCESS;
    9392}
    9493
     
    150149        IEM_MC_END();
    151150    }
    152     return VINF_SUCCESS;
    153151}
    154152
     
    211209        IEM_MC_END();
    212210    }
    213     return VINF_SUCCESS;
    214211}
    215212
     
    316313        IEM_MC_END();
    317314    }
    318     return VINF_SUCCESS;
    319315}
    320316
     
    455451        IEM_MC_END();
    456452    }
    457     return VINF_SUCCESS;
    458453}
    459454
     
    560555        IEM_MC_END();
    561556    }
    562     return VINF_SUCCESS;
    563557}
    564558
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