Commit: 975974e291e05881a7a2fed6f6647ce7c551dde7
Author: Dalai Felinto
Date:   Tue Oct 23 23:47:04 2018 -0300
Branches: blender2.8
https://developer.blender.org/rB975974e291e05881a7a2fed6f6647ce7c551dde7

Silence some false positiver warnings

===================================================================

M       source/blender/editors/armature/pose_select.c
M       source/blender/editors/armature/pose_slide.c

===================================================================

diff --git a/source/blender/editors/armature/pose_select.c 
b/source/blender/editors/armature/pose_select.c
index d655d2e3679..08ac5d1ec51 100644
--- a/source/blender/editors/armature/pose_select.c
+++ b/source/blender/editors/armature/pose_select.c
@@ -676,7 +676,7 @@ static bool pose_select_same_group(bContext *C, bool extend)
 {
        ViewLayer *view_layer = CTX_data_view_layer(C);
        bool *group_flags_array;
-       bool *group_flags;
+       bool *group_flags = NULL;
        int groups_len = 0;
        bool changed = false, tagged = false;
        Object *ob_prev = NULL;
@@ -776,7 +776,7 @@ static bool pose_select_same_group(bContext *C, bool extend)
 static bool pose_select_same_layer(bContext *C, bool extend)
 {
        ViewLayer *view_layer = CTX_data_view_layer(C);
-       int *layers_array, *layers;
+       int *layers_array, *layers = NULL;
        Object *ob_prev = NULL;
        uint ob_index;
        bool changed = false;
diff --git a/source/blender/editors/armature/pose_slide.c 
b/source/blender/editors/armature/pose_slide.c
index 909ae834ac2..b4517208031 100644
--- a/source/blender/editors/armature/pose_slide.c
+++ b/source/blender/editors/armature/pose_slide.c
@@ -298,6 +298,7 @@ static bool pose_frame_range_from_object_get(tPoseSlideOp 
*pso, Object *ob, floa
                        return true;
                }
        }
+       *prevFrameF = *nextFrameF = 0.0f;
        return false;
 }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to