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>2013-11-05 08:32:51 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-11-05 08:32:51 +0400
commit4a99d30538a70b95a2d6cdbf22434aefe5329a10 (patch)
treefeaab4710e39a635ef05cb6afe03748b23a0cac4 /source/blender/makesrna/intern/rna_fcurve.c
parent1b4afb161d0dc15f17fa4a541072402827dfdc4d (diff)
code cleanup: quiet warnings
Diffstat (limited to 'source/blender/makesrna/intern/rna_fcurve.c')
-rw-r--r--source/blender/makesrna/intern/rna_fcurve.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/makesrna/intern/rna_fcurve.c b/source/blender/makesrna/intern/rna_fcurve.c
index 4809291e35e..2036257e5d7 100644
--- a/source/blender/makesrna/intern/rna_fcurve.c
+++ b/source/blender/makesrna/intern/rna_fcurve.c
@@ -485,10 +485,10 @@ static void rna_FModifer_end_frame_set(PointerRNA *ptr, float value)
}
}
-static void rna_FModifier_start_frame_range(PointerRNA *ptr, float *min, float *max,
- float *softmin, float *softmax)
+static void rna_FModifier_start_frame_range(PointerRNA *UNUSED(ptr), float *min, float *max,
+ float *UNUSED(softmin), float *UNUSED(softmax))
{
- FModifier *fcm = (FModifier *)ptr->data;
+ // FModifier *fcm = (FModifier *)ptr->data;
/* Technically, "sfra <= efra" must hold; however, we can't strictly enforce that,
* or else it becomes tricky to adjust the range... [#36844]
@@ -614,11 +614,11 @@ static void rna_FModifierLimits_maxy_set(PointerRNA *ptr, float value)
}
}
-static void rna_FModifierLimits_minx_range(PointerRNA *ptr, float *min, float *max,
+static void rna_FModifierLimits_minx_range(PointerRNA *UNUSED(ptr), float *min, float *max,
float *UNUSED(softmin), float *UNUSED(softmax))
{
- FModifier *fcm = (FModifier *)ptr->data;
- FMod_Limits *data = fcm->data;
+ // FModifier *fcm = (FModifier *)ptr->data;
+ // FMod_Limits *data = fcm->data;
/* no soft-limits on lower bound - it's too confusing when you can't easily use the slider to set things here */
*min = MINAFRAMEF;
@@ -638,11 +638,11 @@ static void rna_FModifierLimits_maxx_range(PointerRNA *ptr, float *min, float *m
*max = MAXFRAMEF;
}
-static void rna_FModifierLimits_miny_range(PointerRNA *ptr, float *min, float *max,
- float *softmin, float *softmax)
+static void rna_FModifierLimits_miny_range(PointerRNA *UNUSED(ptr), float *min, float *max,
+ float *UNUSED(softmin), float *UNUSED(softmax))
{
- FModifier *fcm = (FModifier *)ptr->data;
- FMod_Limits *data = fcm->data;
+ // FModifier *fcm = (FModifier *)ptr->data;
+ // FMod_Limits *data = fcm->data;
/* no soft-limits on lower bound - it's too confusing when you can't easily use the slider to set things here */
*min = -FLT_MAX;