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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-02-03 13:14:29 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-02-03 13:14:29 +0300
commit658ac7225fd0df189ac348872dc41a2e860f129f (patch)
treeffa0e01333ed1a7d57e9c31bee713fa6bf84dc39 /source/blender/makesrna/intern/rna_armature.c
parent54690ca46aa5304055a656d358add41330de1619 (diff)
RNA: some fixes for yesterdays commit, use of uninitialized
variables and errors in foreach macro.
Diffstat (limited to 'source/blender/makesrna/intern/rna_armature.c')
-rw-r--r--source/blender/makesrna/intern/rna_armature.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_armature.c b/source/blender/makesrna/intern/rna_armature.c
index f2b25dd44db..5c5457ceb84 100644
--- a/source/blender/makesrna/intern/rna_armature.c
+++ b/source/blender/makesrna/intern/rna_armature.c
@@ -37,7 +37,7 @@
static void rna_Bone_layer_set(PointerRNA *ptr, const int *values)
{
Bone *bone= (Bone*)ptr->data;
- int i, tot;
+ int i, tot= 0;
/* ensure we always have some layer selected */
for(i=0; i<20; i++)
@@ -56,7 +56,7 @@ static void rna_Bone_layer_set(PointerRNA *ptr, const int *values)
static void rna_Armature_layer_set(PointerRNA *ptr, const int *values)
{
bArmature *arm= (bArmature*)ptr->data;
- int i, tot;
+ int i, tot= 0;
/* ensure we always have some layer selected */
for(i=0; i<20; i++)