VirtualBox

Ignore:
Timestamp:
Jun 7, 2023 8:05:13 PM (20 months ago)
Author:
vboxsync
Message:

*: Fix build issues when setting VBOX_WITH_WARNINGS_AS_ERRORS=1 on darwin.arm64 and make it a default, bugref:10469

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/helpbrowser/UIHelpViewer.cpp

    r100086 r100108  
    826826    QTextCursor cursor(pDocument);
    827827    QTextDocument::FindFlags flags;
    828     int iMatchCount = 0;
    829828    while (!cursor.isNull() && !cursor.atEnd())
    830829    {
    831830        cursor = pDocument->find(searchString, cursor, flags);
    832831        if (!cursor.isNull())
    833         {
    834832            m_matchedCursorPosition << cursor.position() - searchString.length();
    835             ++iMatchCount;
    836         }
    837833    }
    838834}
  • trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerFilterPanel.cpp

    r98844 r100108  
    319319    /* Prepare filter-data: */
    320320    QString strFilteredText;
    321     int count = 0;
    322321    for (int lineIdx = 0; lineIdx < stringLines.size(); ++lineIdx)
    323322    {
     
    326325            continue;
    327326        if (applyFilterTermsToString(currentLineString))
    328         {
    329327            strFilteredText.append(currentLineString).append("\n");
    330             ++count;
    331         }
    332328    }
    333329
  • trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/DarwinKeyboard.cpp

    r98103 r100108  
    17241724            rc = (*ppUsbDeviceInterface)->GetDeviceClass   (ppUsbDeviceInterface,  &idDeviceClass);    AssertMsg(rc == 0, ("Failed to get Device Class"));
    17251725            rc = (*ppUsbDeviceInterface)->GetDeviceSubClass(ppUsbDeviceInterface,  &idDeviceSubClass); AssertMsg(rc == 0, ("Failed to get Device Subclass"));
     1726            RT_NOREF(rc);
    17261727
    17271728            if (idDeviceClass == kUSBHIDInterfaceClass && idDeviceSubClass == kUSBHIDBootInterfaceSubClass)
     
    17581759    if (pDictionary)
    17591760    {
    1760         pHidState->pNotificationPrortRef = IONotificationPortCreate(kIOMasterPortDefault);
     1761        RT_GCC_NO_WARN_DEPRECATED_BEGIN
     1762        pHidState->pNotificationPrortRef = IONotificationPortCreate(kIOMasterPortDefault); /* kIOMasterPortDefault: Deprecated since 12.0. */
     1763        RT_GCC_NO_WARN_DEPRECATED_END
    17611764        if (pHidState->pNotificationPrortRef)
    17621765        {
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