Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-05-28 22:12:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-28 22:12:08 +0400
commit47826118d1e95007e9d1b909b0e96d2c098a6990 (patch)
tree50be73f093f3c2fc837ff9804be20ba2933b4bd0 /source/blender/blenlib/PIL_time.h
parent481658867ec53b3f5dc82d183410d3d35982bad4 (diff)
style cleanup: also fix for TIMEIT macro
Diffstat (limited to 'source/blender/blenlib/PIL_time.h')
-rw-r--r--source/blender/blenlib/PIL_time.h4
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
}