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-19 08:06:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-03-19 08:06:06 +0300
commite9005b985ef283d952aaaa7486d42ad6a48fb117 (patch)
tree917221e91452b5075f710b9e5639d8d2b4b539ed /source/blender/editors/armature/poselib.c
parent3b8d4aa25f23f1c4c1d9a42e6c876333c4f2c6d2 (diff)
remove some redundant vars, assignments & checks.
Diffstat (limited to 'source/blender/editors/armature/poselib.c')
-rw-r--r--source/blender/editors/armature/poselib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/poselib.c b/source/blender/editors/armature/poselib.c
index 21e11d7a830..5fc872d070d 100644
--- a/source/blender/editors/armature/poselib.c
+++ b/source/blender/editors/armature/poselib.c
@@ -354,7 +354,7 @@ void POSELIB_OT_action_sanitise (wmOperatorType *ot)
static void poselib_add_menu_invoke__replacemenu (bContext *C, uiLayout *layout, void *UNUSED(arg))
{
Object *ob= get_poselib_object(C);
- bAction *act= (ob) ? ob->poselib : NULL;
+ bAction *act= ob->poselib; /* never NULL */
TimeMarker *marker;
/* set the operator execution context correctly */