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:
Diffstat (limited to 'source/blender/editors/armature/editarmature.c')
-rw-r--r--source/blender/editors/armature/editarmature.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/armature/editarmature.c b/source/blender/editors/armature/editarmature.c
index 1778ca8fa45..403e5750030 100644
--- a/source/blender/editors/armature/editarmature.c
+++ b/source/blender/editors/armature/editarmature.c
@@ -1299,7 +1299,7 @@ static void selectconnected_posebonechildren (Object *ob, Bone *bone)
/* previously known as "selectconnected_posearmature" */
static int pose_select_connected_invoke(bContext *C, wmOperator *op, wmEvent *event)
{
- Bone *bone, *curBone, *next;
+ Bone *bone, *curBone, *next= NULL;
int shift= 0; // XXX in pose mode, Shift+L is bound to another command
// named "PoseLib Add Current Pose"
int x, y;
@@ -3045,7 +3045,6 @@ static int armature_bone_primitive_add_exec(bContext *C, wmOperator *op)
{
RegionView3D *rv3d= CTX_wm_region_view3d(C);
Object *obedit = CTX_data_edit_object(C);
- bArmature *arm= (bArmature *)obedit->data;
EditBone *bone;
float obmat[3][3], curs[3], viewmat[3][3], totmat[3][3], imat[3][3];
char name[32];