VirtualBox

Ignore:
Timestamp:
Aug 16, 2016 8:02:49 PM (8 years ago)
Author:
vboxsync
Message:

supR3HardenedOpenLog: RT_NOREF shouldn't be used on global variables, so try trick the compiler in a different manner.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp

    r63474 r63573  
    14021402            }
    14031403#else
    1404             RT_NOREF(g_hStartupLog, g_cbStartupLog);
     1404            /* Just some mumbo jumbo to shut up the compiler. */
     1405            g_hStartupLog  -= 1;
     1406            g_cbStartupLog += 1;
    14051407            //g_hStartupLog = open()
    14061408#endif
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