VirtualBox

Changeset 63171 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 8, 2016 2:40:45 PM (8 years ago)
Author:
vboxsync
Message:

Main: warning about switches

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp

    r62393 r63171  
    38073807
    38083808            // find the OVF virtual system description entry for this storage controller
     3809/** @todo
     3810 * r=bird: What on earh this is switch supposed to do?  (I've added the default:break;, so don't
     3811 * get confused by it.)  Kind of looks like it's supposed to do something error handling related
     3812 * in the default case...
     3813 */
    38093814            switch (sc.storageBus)
    38103815            {
     
    38173822                case StorageBus_SAS:
    38183823                    break;
     3824                default: break; /* Shut up MSC. */
    38193825            }
    38203826
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