VirtualBox

Changeset 19308 in vbox


Ignore:
Timestamp:
May 3, 2009 7:24:41 PM (16 years ago)
Author:
vboxsync
Message:

gcc-4.4 warnings

Location:
trunk/src/VBox/Runtime/testcase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/testcase/tstLdr-4.cpp

    r16933 r19308  
    180180                break;
    181181            }
    182             DECLCALLBACKPTR(int, pfnDisasmTest1)(void) = (DECLCALLBACKPTR(int, )(void))(uintptr_t)Value; /* eeeh. */
     182            DECLCALLBACKPTR(int, pfnDisasmTest1)(void) = (DECLCALLBACKPTR(int, RT_NOTHING)(void))(uintptr_t)Value; /* eeeh. */
    183183            RTPrintf("tstLdr-4: pfnDisasmTest1=%p / add-symbol-file %s %#x\n", pfnDisasmTest1, pszFilename, aLoads[i].pvBits);
    184184
  • trunk/src/VBox/Runtime/testcase/tstPrfRT.cpp

    r14831 r19308  
    7979     * RTTimeNanoTS, RTTimeProgramNanoTS, RTTimeMilliTS, and RTTimeProgramMilliTS.
    8080     */
    81     ITERATE(, RTTimeNanoTS();, , 1000000);
     81    ITERATE(RT_NOTHING, RTTimeNanoTS();, RT_NOTHING, 1000000);
    8282    PrintResult(u64TotalTS, u64MaxTS, u64MinTS, i, "RTTimeNanoTS");
    8383
    84     ITERATE(, RTTimeProgramNanoTS();, , 1000000);
     84    ITERATE(RT_NOTHING, RTTimeProgramNanoTS();, RT_NOTHING, 1000000);
    8585    PrintResult(u64TotalTS, u64MaxTS, u64MinTS, i, "RTTimeProgramNanoTS");
    8686
    87     ITERATE(, RTTimeMilliTS();, , 1000000);
     87    ITERATE(RT_NOTHING, RTTimeMilliTS();, RT_NOTHING, 1000000);
    8888    PrintResult(u64TotalTS, u64MaxTS, u64MinTS, i, "RTTimeMilliTS");
    8989
    90     ITERATE(, RTTimeProgramMilliTS();, , 1000000);
     90    ITERATE(RT_NOTHING, RTTimeProgramMilliTS();, RT_NOTHING, 1000000);
    9191    PrintResult(u64TotalTS, u64MaxTS, u64MinTS, i, "RTTimeProgramMilliTS");
    9292
     
    9595     */
    9696    RTTIMESPEC Time;
    97     ITERATE(, RTTimeNow(&Time);, , 1000000);
     97    ITERATE(RT_NOTHING, RTTimeNow(&Time);, RT_NOTHING, 1000000);
    9898    PrintResult(u64TotalTS, u64MaxTS, u64MinTS, i, "RTTimeNow");
    9999
     
    101101     * RTLogDefaultInstance()
    102102     */
    103     ITERATE(, RTLogDefaultInstance();, , 1000000);
     103    ITERATE(RT_NOTHING, RTLogDefaultInstance();, RT_NOTHING, 1000000);
    104104    PrintResult(u64TotalTS, u64MaxTS, u64MinTS, i, "RTLogDefaultInstance");
    105105
     
    107107     * RTThreadSelf and RTThreadNativeSelf
    108108     */
    109     ITERATE(, RTThreadSelf();, , 1000000);
     109    ITERATE(RT_NOTHING, RTThreadSelf();, RT_NOTHING, 1000000);
    110110    PrintResult(u64TotalTS, u64MaxTS, u64MinTS, i, "RTThreadSelf");
    111111
    112     ITERATE(, RTThreadNativeSelf();, , 1000000);
     112    ITERATE(RT_NOTHING, RTThreadNativeSelf();, RT_NOTHING, 1000000);
    113113    PrintResult(u64TotalTS, u64MaxTS, u64MinTS, i, "RTThreadNativeSelf");
    114114
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