VirtualBox

Changeset 72902 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Jul 4, 2018 7:46:14 PM (7 years ago)
Author:
vboxsync
Message:

Appliance::i_URIFromTypeOfVirtualDiskFormat: is unused

File:
1 edited

Legend:

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

    r72901 r72902  
    245245    if (c == ovf::CIMOSType_CIMOS_Other)
    246246    {
    247         for (size_t i=0; i < RT_ELEMENTS(g_aOsTypesPattern); ++i)
    248             if (cStr.contains (g_aOsTypesPattern[i].pcszPattern, Utf8Str::CaseInsensitive))
     247        for (size_t i = 0; i < RT_ELEMENTS(g_aOsTypesPattern); ++i)
     248            if (cStr.contains(g_aOsTypesPattern[i].pcszPattern, Utf8Str::CaseInsensitive))
    249249            {
    250250                strType = Global::OSTypeId(g_aOsTypesPattern[i].osType);
     
    254254    else if (c == ovf::CIMOSType_CIMOS_Other_64)
    255255    {
    256         for (size_t i=0; i < RT_ELEMENTS(g_aOsTypesPattern64); ++i)
    257             if (cStr.contains (g_aOsTypesPattern64[i].pcszPattern, Utf8Str::CaseInsensitive))
     256        for (size_t i = 0; i < RT_ELEMENTS(g_aOsTypesPattern64); ++i)
     257            if (cStr.contains(g_aOsTypesPattern64[i].pcszPattern, Utf8Str::CaseInsensitive))
    258258            {
    259259                strType = Global::OSTypeId(g_aOsTypesPattern64[i].osType);
     
    745745}
    746746
     747#if 0 /* unused */
    747748std::set<Utf8Str> Appliance::i_URIFromTypeOfVirtualDiskFormat(Utf8Str type)
    748749{
     
    756757    return UriSet;
    757758}
     759#endif
    758760
    759761/**
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