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>2011-03-28 06:34:55 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-03-28 06:34:55 +0400
commitac1cb5ee055840ba3481b8ad490e3be2a6a49cf2 (patch)
treea24cd7905f6ab5e90d2926b822f9753598198e8f /source/blender/makesrna/intern/rna_rna.c
parentcf40220e54e32cf52931e461b928f26571fc2f4f (diff)
- quiet new warnings with gcc 4.6
- use BLI math funcs for normal float/short conversion. - correct some un-intentional float/double promotions.
Diffstat (limited to 'source/blender/makesrna/intern/rna_rna.c')
-rw-r--r--source/blender/makesrna/intern/rna_rna.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_rna.c b/source/blender/makesrna/intern/rna_rna.c
index ca3852c0fd0..10c784b51e7 100644
--- a/source/blender/makesrna/intern/rna_rna.c
+++ b/source/blender/makesrna/intern/rna_rna.c
@@ -734,12 +734,12 @@ static int rna_enum_check_separator(CollectionPropertyIterator *iter, void *data
static void rna_EnumProperty_items_begin(CollectionPropertyIterator *iter, PointerRNA *ptr)
{
PropertyRNA *prop= (PropertyRNA*)ptr->data;
- EnumPropertyRNA *eprop;
+ // EnumPropertyRNA *eprop; // UNUSED
EnumPropertyItem *item= NULL;
int totitem, free= 0;
rna_idproperty_check(&prop, ptr);
- eprop= (EnumPropertyRNA*)prop;
+ // eprop= (EnumPropertyRNA*)prop;
RNA_property_enum_items(NULL, ptr, prop, &item, &totitem, &free);
rna_iterator_array_begin(iter, (void*)item, sizeof(EnumPropertyItem), totitem, free, rna_enum_check_separator);