VirtualBox

Changeset 63172 in vbox for trunk/src/VBox/Main


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

Main: warning about switches and some other stuff.

Location:
trunk/src/VBox/Main
Files:
3 edited

Legend:

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

    r62346 r63172  
    13651365                    break;
    13661366                }
     1367
     1368                default: AssertFailedBreak(); /* Shut up MSC. */
    13671369            }
    13681370            break;
     
    71347136         * (neither when starting the VM nor at runtime). */
    71357137        ReturnComNotImplemented();
     7138#if 0
    71367139        hrc = mUserData.backupEx();
    71377140        if (SUCCEEDED(hrc))
     
    71407143            mUserData->s.strVMPriority = aVMProcessPriority;
    71417144        }
     7145#endif
    71427146    }
    71437147    return hrc;
  • trunk/src/VBox/Main/src-server/StorageControllerImpl.cpp

    r61917 r63172  
    161161            m->bd->controllerType = StorageControllerType_NVMe;
    162162            break;
     163        case StorageBus_Null: break; /* Shut up MSC. */
    163164    }
    164165
  • trunk/src/VBox/Main/xml/Settings.cpp

    r62602 r63172  
    64056405                    pcszType = "Floppy";
    64066406                    break;
     6407
     6408                default: break; /* Shut up MSC. */
    64076409            }
    64086410
     
    67406742#endif
    67416743            return true;
     6744        default: break; /* Shut up MSC. */
    67426745    }
    67436746
     
    67576760#if defined(RT_OS_WINDOWS)
    67586761    return AudioDriverType_DirectSound;
     6762
    67596763#elif defined(RT_OS_LINUX)
    67606764    /* On Linux, we need to check at runtime what's actually supported. */
     
    67806784    }
    67816785    return s_linuxDriver;
     6786
    67826787#elif defined(RT_OS_DARWIN)
    67836788    return AudioDriverType_CoreAudio;
     6789
    67846790#elif defined(RT_OS_OS2)
    67856791    return AudioDriverType_MMPM;
     6792
    67866793#else /* All other platforms. */
    67876794# ifdef VBOX_WITH_AUDIO_OSS
    67886795    return AudioDriverType_OSS;
     6796# else
     6797    /* Return NULL driver as a fallback if nothing of the above is available. */
     6798    return AudioDriverType_Null;
    67896799# endif
    67906800#endif
    6791 
    6792     /* Return NULL driver as a fallback if nothing of the above is available. */
    6793     return AudioDriverType_Null;
    67946801}
    67956802
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