diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-19 08:06:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-19 08:06:06 +0300 |
commit | e9005b985ef283d952aaaa7486d42ad6a48fb117 (patch) | |
tree | 917221e91452b5075f710b9e5639d8d2b4b539ed /source/blender/editors/armature/poselib.c | |
parent | 3b8d4aa25f23f1c4c1d9a42e6c876333c4f2c6d2 (diff) |
remove some redundant vars, assignments & checks.
Diffstat (limited to 'source/blender/editors/armature/poselib.c')
-rw-r--r-- | source/blender/editors/armature/poselib.c | 2 |
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 */ |