VirtualBox

Changeset 107456 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jan 7, 2025 10:50:27 AM (5 weeks ago)
Author:
vboxsync
Message:

Devices/PC/ACPI: Fix unused variable parfait warning for code which is only used when RT_STRICT is defined, bugref:3409

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/ACPI/VBoxAcpi.cpp

    r106061 r107456  
    209209            uint8_t *pabAmlCpu     = &pabAmlDevName[4];
    210210            bool fCpuConfigured = false;
     211#ifdef RT_STRICT
    211212            bool fCpuFound      = false;
     213#endif
    212214
    213215            if ((pabAmlDevName[0] != 'S') || (pabAmlDevName[1] != 'C') || (pabAmlDevName[2] != 'K'))
     
    236238                        continue;
    237239
     240#ifdef RT_STRICT
    238241                    fCpuFound = true;
     242#endif
    239243
    240244                    /* Processor ID */
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