diff options
Diffstat (limited to 'source/blender/blenlib/PIL_time.h')
-rw-r--r-- | source/blender/blenlib/PIL_time.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/PIL_time.h b/source/blender/blenlib/PIL_time.h index 6153007be80..288d2fe78e5 100644 --- a/source/blender/blenlib/PIL_time.h +++ b/source/blender/blenlib/PIL_time.h @@ -61,7 +61,7 @@ void PIL_sleep_ms(int ms); double _timeit_##var = PIL_check_seconds_timer(); \ printf("time start (" #var "): " AT "\n"); \ fflush(stdout); \ - { (void) \ + { (void)0 \ #define TIMEIT_VALUE(var) (float)(PIL_check_seconds_timer() - _timeit_##var) @@ -71,7 +71,7 @@ void PIL_sleep_ms(int ms); } \ printf("time end (" #var "): %.6f" " " AT "\n", TIMEIT_VALUE(var)); \ fflush(stdout); \ -} (void) \ +} (void)0 \ #ifdef __cplusplus } |