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-29 10:59:18 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-29 10:59:18 +0400
commit3be303aa3e08c082a9963802137ebb4fd7922953 (patch)
treeef92012749acb4c2fdba2c161f828970898acdd3 /source/blender/editors/curve
parent2cdb79239bdec497781baf7fe8309cf4b1a36308 (diff)
corrections for redundant null checks & transform printing a string into its self.
Diffstat (limited to 'source/blender/editors/curve')
-rw-r--r--source/blender/editors/curve/editcurve.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c
index 9bae4ea6569..cb73f20fe7b 100644
--- a/source/blender/editors/curve/editcurve.c
+++ b/source/blender/editors/curve/editcurve.c
@@ -1234,7 +1234,6 @@ void make_editNurb(Object *obedit)
Nurb *nu, *newnu, *nu_act= NULL;
KeyBlock *actkey;
- if(obedit==NULL) return;
set_actNurb(obedit, NULL);
@@ -1591,7 +1590,7 @@ static int deleteflagNurb(bContext *C, wmOperator *UNUSED(op), int flag)
BPoint *bp, *bpn, *newbp;
int a, b, newu, newv, sel;
- if(obedit && obedit->type==OB_SURF);
+ if(obedit->type==OB_SURF);
else return OPERATOR_CANCELLED;
cu->lastsel= NULL;