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-04-24 14:51:45 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-24 14:51:45 +0400
commit8fdebf24f4fe405c77f13a72c45cf0f8e6bc1f3f (patch)
treee2b7d4d9f40b8f93afe15d25ef092b2242282637 /source/blender/editors/curve
parent5c4743b9ee2e98fc9ba8738fefddd7698034752d (diff)
harmless changes to quiet clang static check warnings.
- made EXPANDED_AGRP take bAnimContext as an argument. - remove unneeded NULL check drawFacesColored functions. - comment some vars which are set but not used.
Diffstat (limited to 'source/blender/editors/curve')
-rw-r--r--source/blender/editors/curve/editcurve.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c
index 1ab7acef861..9bae4ea6569 100644
--- a/source/blender/editors/curve/editcurve.c
+++ b/source/blender/editors/curve/editcurve.c
@@ -951,7 +951,7 @@ static void calc_shapeKeys(Object *obedit)
++i;
}
- fp+= 3; curofp+= 3; /* alphas */
+ fp+= 3; /* alphas */
} else {
for (j= 0; j < 3; ++j, ++i) {
VECCOPY(fp, bezt->vec[j]);
@@ -5662,7 +5662,7 @@ static int delete_exec(bContext *C, wmOperator *op)
Curve *cu= obedit->data;
EditNurb *editnurb= cu->editnurb;
ListBase *nubase= &editnurb->nurbs;
- Nurb *nu, *next, *nu1;
+ Nurb *nu, *nu1;
BezTriple *bezt, *bezt1, *bezt2;
BPoint *bp, *bp1, *bp2;
int a, cut= 0, type= RNA_enum_get(op->ptr, "type");
@@ -5687,6 +5687,7 @@ static int delete_exec(bContext *C, wmOperator *op)
if(type==0) {
/* first loop, can we remove entire pieces? */
+ Nurb *next;
nu= nubase->first;
while(nu) {
next= nu->next;
@@ -5815,7 +5816,6 @@ static int delete_exec(bContext *C, wmOperator *op)
nu1= NULL;
nuindex= 0;
for(nu= nubase->first; nu; nu= nu->next) {
- next= nu->next;
if(nu->type == CU_BEZIER) {
bezt= nu->bezt;
for(a=0; a<nu->pntsu-1; a++) {