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-03-22 05:35:13 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-22 05:35:13 +0400
commitb6c2f9ddabd54530906661150640daa31b50e1e9 (patch)
treebe881cc0d8d7f6060abf4f3d2ecf476dd356cc3a /source/blender/render
parentb56d2f97662e0277076b7a7fd1f7a19380dc9f63 (diff)
style cleanup: enforce macros using a semicolon.
Diffstat (limited to 'source/blender/render')
-rw-r--r--source/blender/render/intern/source/occlusion.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/render/intern/source/occlusion.c b/source/blender/render/intern/source/occlusion.c
index 47b13cd484d..6ebd84d6635 100644
--- a/source/blender/render/intern/source/occlusion.c
+++ b/source/blender/render/intern/source/occlusion.c
@@ -403,8 +403,9 @@ static int occ_find_bbox_axis(OcclusionTree *tree, int begin, int end, float *mi
INIT_MINMAX(min, max);
- for(a=begin; a<end; a++)
- DO_MINMAX(tree->co[a], min, max)
+ for (a = begin; a < end; a++) {
+ DO_MINMAX(tree->co[a], min, max);
+ }
for(a=0; a<3; a++) {
len= max[a] - min[a];