Changeset 63170 in vbox for trunk/src/VBox
- Timestamp:
- Aug 8, 2016 2:38:58 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 109788
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-all/QMTranslatorImpl.cpp
r62485 r63170 192 192 uint32_t hash = calculateHash(pszSource, pszDisamb); 193 193 lowerIter = m_hashSet.lower_bound(HashOffset(hash, 0)); 194 upperIter = m_hashSet.upper_bound(HashOffset(hash, ~0));194 upperIter = m_hashSet.upper_bound(HashOffset(hash, UINT32_MAX)); 195 195 196 196 for (iter = lowerIter; iter != upperIter; ++iter) -
trunk/src/VBox/Main/src-server/ApplianceImpl.cpp
r61003 r63170 1658 1658 if (d.strRef == strRef) 1659 1659 return &d; 1660 break; 1660 break; 1661 default: break; /* Shut up MSC. */ 1661 1662 } 1662 1663 } -
trunk/src/VBox/Main/src-server/ApplianceImplExport.cpp
r62485 r63170 207 207 if (!pIDEController.isNull()) 208 208 { 209 Utf8Str strVBox;210 209 StorageControllerType_T ctlr; 211 210 rc = pIDEController->COMGETTER(ControllerType)(&ctlr); 212 211 if (FAILED(rc)) throw rc; 213 switch(ctlr) 212 213 Utf8Str strVBox; 214 switch (ctlr) 214 215 { 215 216 case StorageControllerType_PIIX3: strVBox = "PIIX3"; break; 216 217 case StorageControllerType_PIIX4: strVBox = "PIIX4"; break; 217 218 case StorageControllerType_ICH6: strVBox = "ICH6"; break; 219 default: break; /* Shut up MSC. */ 218 220 } 219 221 … … 252 254 { 253 255 Utf8Str strVBox = "LsiLogic"; // the default in VBox 254 switch (ctlr)256 switch (ctlr) 255 257 { 256 258 case StorageControllerType_LsiLogic: strVBox = "LsiLogic"; break; 257 259 case StorageControllerType_BusLogic: strVBox = "BusLogic"; break; 260 default: break; /* Shut up MSC. */ 258 261 } 259 262 lSCSIControllerIndex = (int32_t)pNewDesc->m->maDescriptions.size(); … … 519 522 (uint32_t)(llSize / _1M), 520 523 strExtra); 521 break;524 break; 522 525 523 526 case DeviceType_DVD: … … 529 532 (uint32_t)(llSize / _1M),// ulSize 530 533 strExtra); 531 break;534 break; 532 535 533 536 case DeviceType_Floppy: … … 538 541 1, // ulSize 539 542 strExtra); 540 break; 543 break; 544 545 default: break; /* Shut up MSC. */ 541 546 } 542 547 } … … 1373 1378 // won't eat the item 1374 1379 } 1375 break;1380 break; 1376 1381 1377 1382 case VirtualSystemDescriptionType_HardDiskControllerIDE: … … 1411 1416 } 1412 1417 } 1413 break;1418 break; 1414 1419 1415 1420 case VirtualSystemDescriptionType_HardDiskControllerSATA: … … 1446 1451 lSATAControllerIndex = lIndexThis; 1447 1452 } 1448 break;1453 break; 1449 1454 1450 1455 case VirtualSystemDescriptionType_HardDiskControllerSCSI: … … 1487 1492 lSCSIControllerIndex = lIndexThis; 1488 1493 } 1489 break;1494 break; 1490 1495 1491 1496 case VirtualSystemDescriptionType_HardDiskImage: … … 1542 1547 stack.mapDisks[strDiskID] = &desc; 1543 1548 } 1544 break;1549 break; 1545 1550 1546 1551 case VirtualSystemDescriptionType_Floppy: … … 1553 1558 lAddressOnParent = 0; // this is what OVFTool writes 1554 1559 } 1555 break;1560 break; 1556 1561 1557 1562 case VirtualSystemDescriptionType_CDROM: … … 1616 1621 // handled completely with this entry. 1617 1622 } 1618 break;1623 break; 1619 1624 1620 1625 case VirtualSystemDescriptionType_NetworkAdapter: … … 1650 1655 stack.mapNetworks[desc.strOvf] = true; 1651 1656 } 1652 break;1657 break; 1653 1658 1654 1659 case VirtualSystemDescriptionType_USBController: … … 1669 1674 lBusNumber = 0; // this is what OVFTool writes 1670 1675 } 1671 break;1676 break; 1672 1677 1673 1678 case VirtualSystemDescriptionType_SoundCard: … … 1690 1695 lAddressOnParent = 3; // what gives? this is what OVFTool writes 1691 1696 } 1692 break; 1697 break; 1698 1699 default: break; /* Shut up MSC. */ 1693 1700 } 1694 1701
Note:
See TracChangeset
for help on using the changeset viewer.