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>2015-06-20 08:17:21 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-06-20 08:17:21 +0300
commit4addabaed8b1836b84a8d255b4ff3bb865882de5 (patch)
tree4393f69b74308b3d251b9650dac0b60ae096ac35 /source/blender
parent2de34ba31dec8f2f31cf817477087c30ddcbd1b0 (diff)
Cleanup: unused vars
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/makesrna/intern/rna_smoke.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/source/blender/makesrna/intern/rna_smoke.c b/source/blender/makesrna/intern/rna_smoke.c
index ba1cf2f51e7..6dcba3b3fed 100644
--- a/source/blender/makesrna/intern/rna_smoke.c
+++ b/source/blender/makesrna/intern/rna_smoke.c
@@ -209,8 +209,7 @@ static void rna_SmokeModifier_density_grid_get(PointerRNA *ptr, float *values)
BLI_rw_mutex_unlock(sds->fluid_mutex);
#else
- (void)ptr;
- (void)values;
+ UNUSED_VARS(ptr, values);
#endif
}
@@ -237,7 +236,7 @@ static void rna_SmokeModifier_velocity_grid_get(PointerRNA *ptr, float *values)
BLI_rw_mutex_unlock(sds->fluid_mutex);
#else
- (void)ptr;
+ UNUSED_VARS(ptr, values);
#endif
}
@@ -263,7 +262,7 @@ static void rna_SmokeModifier_color_grid_get(PointerRNA *ptr, float *values)
BLI_rw_mutex_unlock(sds->fluid_mutex);
#else
- (void)ptr;
+ UNUSED_VARS(ptr, values);
#endif
}
@@ -289,8 +288,7 @@ static void rna_SmokeModifier_flame_grid_get(PointerRNA *ptr, float *values)
BLI_rw_mutex_unlock(sds->fluid_mutex);
#else
- (void)ptr;
- (void)values;
+ UNUSED_VARS(ptr, values);
#endif
}