[Bf-blender-cvs] [4addaba] master: Cleanup: unused vars
Campbell Barton
noreply at git.blender.org
Sat Jun 20 08:44:53 CEST 2015
Commit: 4addabaed8b1836b84a8d255b4ff3bb865882de5
Author: Campbell Barton
Date: Sat Jun 20 15:17:21 2015 +1000
Branches: master
https://developer.blender.org/rB4addabaed8b1836b84a8d255b4ff3bb865882de5
Cleanup: unused vars
===================================================================
M source/blender/makesrna/intern/rna_smoke.c
===================================================================
diff --git a/source/blender/makesrna/intern/rna_smoke.c b/source/blender/makesrna/intern/rna_smoke.c
index ba1cf2f..6dcba3b 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
}
More information about the Bf-blender-cvs
mailing list