[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [37217] branches/soc-2011-onion/source/ blender/makesrna/intern/rna_brush.c: rna_Brush_texture_angle_source_itemf in makesrna/rna_brush. c had the wrong prototype
Jason Wilkins
Jason.A.Wilkins at gmail.com
Sun Jun 5 20:35:19 CEST 2011
Revision: 37217
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=37217
Author: jwilkins
Date: 2011-06-05 18:35:18 +0000 (Sun, 05 Jun 2011)
Log Message:
-----------
rna_Brush_texture_angle_source_itemf in makesrna/rna_brush.c had the wrong prototype
No consequence from this because the incorrect arguments are unused, but it does lead me to think that rna_*_gen.c files should be compiled with warnings as errors.
Modified Paths:
--------------
branches/soc-2011-onion/source/blender/makesrna/intern/rna_brush.c
Modified: branches/soc-2011-onion/source/blender/makesrna/intern/rna_brush.c
===================================================================
--- branches/soc-2011-onion/source/blender/makesrna/intern/rna_brush.c 2011-06-05 18:00:24 UTC (rev 37216)
+++ branches/soc-2011-onion/source/blender/makesrna/intern/rna_brush.c 2011-06-05 18:35:18 UTC (rev 37217)
@@ -334,7 +334,7 @@
}
}
-static EnumPropertyItem *rna_Brush_texture_angle_source_itemf(bContext *C, PointerRNA *ptr, int *free)
+static EnumPropertyItem *rna_Brush_texture_angle_source_itemf(bContext *UNUSED(C), PointerRNA *ptr, PropertyRNA *UNUSED(prop), int *UNUSED(free))
{
Brush *me= (Brush*)(ptr->data);
More information about the Bf-blender-cvs
mailing list