VirtualBox

Changeset 72902 in vbox


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

Appliance::i_URIFromTypeOfVirtualDiskFormat: is unused

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/ApplianceImpl.h

    r72900 r72902  
    139139    Utf8Str i_typeOfVirtualDiskFormatFromURI(Utf8Str type) const;
    140140
     141#if 0 /* unused */
    141142    std::set<Utf8Str> i_URIFromTypeOfVirtualDiskFormat(Utf8Str type);
     143#endif
    142144
    143145    HRESULT i_findMediumFormatFromDiskImage(const ovf::DiskImage &di, ComObjPtr<MediumFormat>& mf);
  • 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